Here is a basic example using get_range_slices to retrieve 500 rows via hector:
http://github.com/bosyak/hector/blob/master/src/main/java/me/prettyprint/cassandra/examples/ExampleReadAllKeys.java

To page, use the last key you got back as the start key.

-Nate

On Wed, May 12, 2010 at 3:37 PM, Corey Hulen <c...@earnstone.com> wrote:
>
> Can someone point me to a thrift sample (preferable java) to list all the
> rows in a ColumnFamily for my Cassandra server.  I noticed some examples
> using SlicePredicate and SliceRange to perform a similar query against the
> columns with paging, but I was looking for something similar for rows with
> paging.  I'm also new to Cassandra, so I might have misunderstood the
> existing samples.
> -Corey
>
>
>

Reply via email to