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 Mogrovejo < renatoj.marroq...@gmail.com> wrote: > 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 used for if I am already controlling the range with the startKey > and endKey parameters. Could anyone show me some light on this manner > please? > Thanks in advance. > > > Renato M. > > [1] > http://www.srcrr.com/java/astyanax/1.0.5/reference/com/netflix/astyanax/thrift/ThriftColumnFamilyQueryImpl-source.html >