cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wojciech Kaczmarek <kaczmare...@gmail.com>
Subject Re: Cassandra paging, gathering stats
Date Wed, 24 Feb 2010 16:26:12 GMT
Btw,

does get_range_slice support reversed=true for keys (not column
predicates) ? In 0.5 seems not

On Tue, Feb 23, 2010 at 21:28, Jonathan Ellis <jbellis@gmail.com> wrote:
> 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