OK, got it.
Tks for the explanation,
On 2/03/2011 14:45, Ching-Cheng Chen wrote:
Stable order mean the keys will return in some kind of
ordering (not alphanumeric, not numeric,), just in certain order.
For example, if you use setKeys("","")
as first batch call and you got following result.
Then if you call with
setKeys("keydsg","") again, you will get following result.
On Wed, Mar 2, 2011 at 4:53 AM, Eric
I'm also facing the need to retrieve all row keys.
What do you mean with "stable" order?
From this thread, I understand paging method with
RandomPartitioner will return all keys (shuffled, but
missing key, no double key).
This seems to have already told, but I prefer to
On 23/02/2011 15:24, Daniel Lundin wrote:
They are, however, in *stable* order, which is
On Wed, Feb 23, 2011 at 3:20 PM, Norman Maurer<firstname.lastname@example.org>
yes but be aware that the keys will not in the
2011/2/23 Roshan Dawrani<email@example.com>:
On Wed, Feb 23, 2011 at 7:17 PM, Ching-Cheng Chen
Actually, if you want to get ALL keys, I believe
you can still use
This is what I meant to suggest when I earlier
said "So, if you want all,
RangeSliceQuery with RP.
Just use setKeys("","") as first batch call.
Then use the last key from previous batch as
startKey for next batch.
Beware that since startKey is inclusive, so
you'd need to ignore first key
from now on.
Keep going until you finish all batches. You
will know you'd need to stop
when setKeys(key_xyz,"") return you only one
you will need to keep paging forward and
collecting the keys." :-)