Re: paging row keys

2010-05-12 Thread Nathan McCall
Oh, thanks to Andrey Panov for providing that example, btw. We are always looking for good usage examples to post on the Hector wiki If anyone else has them. -Nate On Wed, May 12, 2010 at 5:01 PM, Nathan McCall wrote: > Here is a basic example using get_range_slices to retrieve 500 rows via > he

Re: paging row keys

2010-05-12 Thread Nathan McCall
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, Core

paging row keys

2010-05-12 Thread Corey Hulen
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 pa