take a look at get_range_slices and start with "". 
then invoke get_range_slices again, but this time use the last key as the start 
key

// Roger Schildmeijer

On 29 apr 2010, at 16.28em, David Boxenhorn wrote:

> How do I do that??? 
> 
> On Thu, Apr 29, 2010 at 4:31 PM, Jesse McConnell <jesse.mcconn...@gmail.com> 
> wrote:
> apparently there is now range query support for getting all keys using the 
> RP...
> 
> cheers,
> jesse
> 
> --
> jesse mcconnell
> jesse.mcconn...@gmail.com
> 
> 
> 
> On Thu, Apr 29, 2010 at 08:16, David Boxenhorn <da...@lookin2.com> wrote:
> > We want to store objects in Cassandra. In general, the mapping is quite
> > easy. But for some kinds of objects, we want to be able to read all of them
> > into memory.
> >
> > We want to use random partitioning, which means that we can't do a range
> > query over keys (is this right?). Is there any way to get ALL the keys
> > directly (order is not important)? Or do I need to define a separate column
> > family, and save all the keys in a single column of that family? Or...
> > something else?
> >
> 

Reply via email to