Does it help: https://github.com/rantav/hector/blob/master/core/src/test/java/me/prettyprint/cassandra/model/RangeSlicesQueryTest.java
<https://github.com/rantav/hector/blob/master/core/src/test/java/me/prettyprint/cassandra/model/RangeSlicesQueryTest.java>It uses setReturnKeysOnly()... Same for index queries in: https://github.com/rantav/hector/blob/master/core/src/test/java/me/prettyprint/cassandra/model/IndexedSlicesQueryTest.java I think it will not return all keys from the ColumnFamily at one shot (as with rows) So, if you want all, you will need to keep paging forward and collecting the keys. On Wed, Feb 23, 2011 at 12:41 PM, Joshua Partogi <joshua.j...@gmail.com>wrote: > Hi, > > Assuming the application does not know the list of keys that is stored > inside cassandra, how would it be possible to get list of row keys? > This list of row keys is going to be used to get a range of slices. > > Thank you for your help. > > -- > http://twitter.com/jpartogi > -- Roshan Blog: http://roshandawrani.wordpress.com/ Twitter: @roshandawrani <http://twitter.com/roshandawrani> Skype: roshandawrani