incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evan Weaver <ewea...@gmail.com>
Subject Re: thrift API changes
Date Wed, 08 Jul 2009 19:23:46 GMT
I lost track of which is which...

My impression was that we would eventually have something like the following:

get_slice(token, limit, [asc|desc])
get_slice_super(token, limit, [asc|desc])
get_slice(offset, limit, [asc|desc])
get_slice_super(offset, limit, [asc|desc])

Where token is either a timestamp (for time-ordered) or a name (for
name-ordered), and sending no token would be the same as offset 0.

Evan

On Wed, Jul 8, 2009 at 12:17 PM, Jonathan Ellis<jbellis@gmail.com> wrote:
> you mean get_slice_from being renamed to get_slice a week or so ago?  sure.
>
> On Wed, Jul 8, 2009 at 2:13 PM, Evan Weaver<eweaver@gmail.com> wrote:
>> Does this include the work for a token/limit API to parallel the
>> offset/limit API? I didn't see it in the tickets.
>>
>> I guess since that would be new, it's not really a breakage.
>>
>> Evan
>>
>> On Wed, Jul 8, 2009 at 11:47 AM, Jonathan Ellis<jbellis@gmail.com> wrote:
>>>
>>> Hi all,
>>>
>>> Just a heads up that this is going to be The Week Of Breaking Things
>>> in the client api.  There are a bunch of long-standing problems that
>>> can't be fixed without making fundamental changes in the API so we are
>>> going to bite the bullet and get those done now.  We've already done
>>> CASSANDRA-261, -277, and -280; next up will be CASSANDRA-139, and
>>> eventually CASSANDRA-240 and friends.
>>>
>>> If you're on a version of trunk that Works For You, you  might want to
>>> resist the urge to svn up until the dust settles.
>>>
>>> -Jonathan
>>>
>>> --~--~---------~--~----~------------~-------~--~----~
>>> You received this message because you are subscribed to the Google Groups "Cassandra
Users" group.
>>> To post to this group, send email to cassandra-user@googlegroups.com
>>> To unsubscribe from this group, send email to cassandra-user+unsubscribe@googlegroups.com
>>> For more options, visit this group at http://groups.google.com/group/cassandra-user?hl=en
>>> -~----------~----~----~----~------~----~------~--~---
>>>
>>>
>>
>>
>>
>> --
>> Evan Weaver
>>
>



-- 
Evan Weaver

Mime
View raw message