Re: how to paginate through CF

2010-04-04 Thread Vijay
>> This assumes the key is always sorted. Is it true? yes, keys are always sorted within a column family, >> How do you translate the starting row number to a string key? handled via client, you might need to store the last key which was returned and start from there to fetch the next set Fir

how to paginate through CF

2010-04-04 Thread AJ Chen
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?