cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Ilinykh <>
Subject Re: Usage of getKeyRange method
Date Sat, 25 May 2013 01:35:44 GMT
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,

On Fri, May 24, 2013 at 6:53 AM, Renato MarroquĂ­n Mogrovejo <> 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]

View raw message