You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Dwight Smith <Dw...@alcatel-lucent.com> on 2010/09/24 20:07:21 UTC

How can the cassandra token of a key be determined from the cassandra client side?

This question relates to a C++ client application, to direct the
Cassandra request to the correct Cassandra node based on token form of
the key.

 

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 C++.

 

Thanks much


					
-------------------------------------------------------------------------------------------------------------------
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.