cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AJ Chen <>
Subject how to paginate through CF
Date Sun, 04 Apr 2010 23:03:56 GMT
Pagination is be numbers, e.g. get 10 rows starting from number 100 or
getRows(100, 10). Column family uses KeyRange to get a section of the table.
This assumes the key is always sorted. Is it true? Secondly, the key
normally a string.  How do you translate the starting row number  to a
string key?  You can start from row 0 until row 100 and then collect 10
rows. This may not be efficient. Is there a better way to paginate through

View raw message