hector-examples icon indicating copy to clipboard operation
hector-examples copied to clipboard

How to paginate back from a 'n' the row key (using RandomPartitioner) ?

Open asribalaji opened this issue 13 years ago • 1 comments

Hi,

How to paginate back from a 'n' the row key using RangeSlicesQuery ?

The data is based on RP and the reverse option on the setRange function seems to be applicable only for the columns not on the rows. (http://tinyurl.com/73tncn3)

Could you please provide your comments on this ?

Thanks, Sribalaji

asribalaji avatar Jan 10 '12 08:01 asribalaji

It is a function of the hashing algorithm when you page via rangeslices with random partitioner. In other words, you are using the order of the hashed values - not the values themselves.

On Tue, Jan 10, 2012 at 2:03 AM, asribalaji [email protected] wrote:

Hi,

How to paginate back from a 'n' the row key  using RangeSlicesQuery ?

The data is based on RP and the reverse option on the setRange function seems to be applicable only for the columns not on the rows. (http://tinyurl.com/73tncn3)

Could you please provide your comments on this ?

Thanks, Sribalaji


Reply to this email directly or view it on GitHub: https://github.com/zznate/hector-examples/issues/3

zznate avatar Jan 10 '12 16:01 zznate