incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: new thrift API
Date Sat, 08 Aug 2009 13:55:23 GMT
(either of start and finish may be empty)

On Sat, Aug 8, 2009 at 8:41 AM, Jonathan Ellis<jbellis@gmail.com> wrote:
> Stabilizing but not quite finished (329 and 311 are still waiting for
> review).  But the fundamentals are the same.
>
> You have start/finish because that's what defines a range.  You have
> count because you often want the First N results.
>
> -Jonathan
>
> On Sat, Aug 8, 2009 at 8:33 AM, Jonas Bonér<jboner@gmail.com> wrote:
>> Hey guys.
>>
>> Is the new API stabilizing?
>>
>> How is the new range functions suppose to work?
>>    public List<Column> get_slice_by_names(String keyspace, String
>> key, ColumnParent column_parent, List<byte[]> column_names, int
>> consistency_level) throws InvalidRequestException, NotFoundException,
>> TException;
>>
>>    public List<Column> get_slice(String keyspace, String key,
>> ColumnParent column_parent, byte[] start, byte[] finish, boolean
>> is_ascending, int count, int consistency_level) throws
>> InvalidRequestException, NotFoundException, TException;
>>
>> These both have a start, finish and count. I was expecting start and
>> offset or only start, finish.
>>
>> Is the new API documented yet?
>>
>> Thanks.
>>
>> --
>> Jonas Bonér
>>
>> twitter: @jboner
>> blog:    http://jonasboner.com
>> work:   http://crisp.se
>> work:   http://scalablesolutions.se
>> code:   http://github.com/jboner
>>
>

Mime
View raw message