cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Cassandra paging, gathering stats
Date Tue, 23 Feb 2010 20:28:18 GMT
you'd actually use first column as start, empty finish,
count=pagesize, and reversed=True, unless I'm misunderstanding
something.

On Tue, Feb 23, 2010 at 1:57 PM, Brandon Williams <driftx@gmail.com> wrote:
> On Tue, Feb 23, 2010 at 11:54 AM, Sonny Heer <sonnyheer@gmail.com> wrote:
>>
>> > Columns can easily be paginated via the 'start' and 'finish' parameters.
>> >  You can't jump to a random page, but you can provide next/previous
>> > behavior.
>>
>> Do you have an example of this?  From a client, they can pass in the
>> last key, which can then be used as the start with some predefined
>> count.  But how can you do previous?
>
> To go backwards, you pass the first column seen as the finish parameter and
> use an empty start parameter with an appropriate count.
> -Brandon

Mime
View raw message