cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Row Key Types
Date Tue, 01 Feb 2011 19:58:58 GMT
How they are compared depends on the partitioner you are using.  For
BOP, it is lexical by byte order.

On Tue, Feb 1, 2011 at 8:47 AM, Bill Speirs <bill.speirs@gmail.com> wrote:
> What is the type of a Row Key? Can you define how they are compared?
>
> I ask because I'm using TimeUUIDs as my row keys, but when I make a
> call to get a range of row keys (get_range in phpcassa) I have to
> specify the UTF8 range of '' to '99999999-9999-9999-9999-999999999999'
> instead of the TimeUUID range of
> '00000000-0000-0000-0000-000000000000' to
> 'ffffffff-ffff-ffff-ffff-ffffffffffff'.
>
> This works, but feels wrong/inefficient... thoughts?
>
> Thanks...
>
> Bill-
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message