incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Major <al3...@gmail.com>
Subject RE: Previous Page Pagination?
Date Sat, 29 Oct 2011 16:42:58 GMT
Hey,

You can switch the reversed flag on (or off) and use the first key returned
as the start key for the previous page.

Alex
------------------------------
From: Sam Hodgson
Sent: 29/10/2011 16:15
To: user@cassandra.apache.org
Subject: Previous Page Pagination?

  Hi,

Is there a good method to use for pagination in Cassandra? I can create a
next page link by pulling an extra column when getting however previous
page is proving tricky.  Im using integer timestamps as column keys so
would really need a way to pull out the 10 preceeding columns as well as
the 10 following the given timestamp.

Cheers

Sam

Mime
View raw message