Take a look at your particular implementation of org.apache.cassandra.dht.IPartitioner: each partitioner: creates tokens in a different way, but all of them are straightforward.
This question relates to a C++ client application, to direct
the Cassandra request to the correct Cassandra node based on token form of the
Would the following work? If the token form of the key could
be determined – the keyspace description could be used to select the
correct Cassandra node to which to send the request.
First problem is how to determine the token from the key in
CONFIDENTIALITY NOTICE: This e-mail and any files attached may contain confidential and proprietary information of Alcatel-Lucent and/or its affiliated entities. Access by the intended recipient only is authorized. Any liability arising from any party acting, or refraining from acting, on any information contained in this e-mail is hereby excluded. If you are not the intended recipient, please notify the sender immediately, destroy the original transmission and its attachments and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Copyright in this e-mail and any attachments belongs to Alcatel-Lucent and/or its affiliated entities.