Hi,

I would like to ask how to calculate token for composite partition key using 
java api?
For partition key made of one column I use 
cluster.getMetadata().newToken(newBuffer);
But what if my key looks like this PRIMARY KEY ((parentResourceId,timeRT), 
childName)?
I read that “:” is a separator but it doesn’t seem to be the case.
How can I create ByteBuffer with multiple values so that the token would be 
actually correct?

Thank you,
Branislav

Reply via email to