Re: List all keys with RandomPartitioner

2012-02-22 Thread R. Verlangen
__ > > From: Franc Carter > >To: user@cassandra.apache.org > >Sent: Wednesday, February 22, 2012 9:24 AM > >Subject: Re: List all keys with RandomPartitioner > > > > > >On Wed, Feb 22, 2012 at 8:47 PM, Flavio Baronti > wrote: > > > >I need to iter

Re: List all keys with RandomPartitioner

2012-02-22 Thread Rafael Almeida
> > From: Franc Carter >To: user@cassandra.apache.org >Sent: Wednesday, February 22, 2012 9:24 AM >Subject: Re: List all keys with RandomPartitioner > > >On Wed, Feb 22, 2012 at 8:47 PM, Flavio Baronti >wrote: > >I need to iter

Re: List all keys with RandomPartitioner

2012-02-22 Thread Flavio Baronti
Il 2/22/2012 12:24 PM, Franc Carter ha scritto: On Wed, Feb 22, 2012 at 8:47 PM, Flavio Baronti mailto:f.baro...@list-group.com>> wrote: I need to iterate over all the rows in a column family stored with RandomPartitioner. When I reach the end of a key slice, I need to find the token of

Re: List all keys with RandomPartitioner

2012-02-22 Thread Franc Carter
On Wed, Feb 22, 2012 at 8:47 PM, Flavio Baronti wrote: > I need to iterate over all the rows in a column family stored with > RandomPartitioner. > When I reach the end of a key slice, I need to find the token of the last > key in order to ask for the next slice. > I saw in an old email that the to

Re: List all keys with RandomPartitioner

2012-02-22 Thread Henrik Schröder
I had to port that piece of code to C#, and it's just a few lines of code, so just write your own. Here's the original so you can see what it does: http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=blob_plain;f=src/java/org/apache/cassandra/utils/FBUtilities.java;hb=refs/heads/trunk /Henri

List all keys with RandomPartitioner

2012-02-22 Thread Flavio Baronti
I need to iterate over all the rows in a column family stored with RandomPartitioner. When I reach the end of a key slice, I need to find the token of the last key in order to ask for the next slice. I saw in an old email that the token for a specific key can be recoveder through FBUtilities.has