Re: Usage of getKeyRange method

2013-05-27 Thread Renato Marroquín Mogrovejo
Thanks Andrey! I will try that. Renato M. 2013/5/24 Andrey Ilinykh ailin...@gmail.com you can specify startKey/endKey only if you use ByteOrederedPartitioner. In this case startToken/endToken are null. I guess (but not sure) with RandomPartitioner you have to specify startToken/endToken,

Usage of getKeyRange method

2013-05-24 Thread Renato Marroquín Mogrovejo
Hi all, I am trying to migrate some some Hector's RangeSlicesQuery to Astyanax, but the only method I have found is getKeyRange[1] which in turn has four parameters startKey,endKey, startToken, endToken, and count. The thing is that I am not sure what are the startToken and endToken parameters

Re: Usage of getKeyRange method

2013-05-24 Thread Andrey Ilinykh
you can specify startKey/endKey only if you use ByteOrederedPartitioner. In this case startToken/endToken are null. I guess (but not sure) with RandomPartitioner you have to specify startToken/endToken, keys are null then. Thank you, Andrey On Fri, May 24, 2013 at 6:53 AM, Renato Marroquín