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