incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wangpei (Peter)" <peter.wang...@huawei.com>
Subject Re: Row Key Types
Date Thu, 10 Feb 2011 06:38:16 GMT
Did you set compare_with attribute of your ColumnFamily to TimeUUIDType?

-----邮件原件-----
发件人: Bill Speirs [mailto:bill.speirs@gmail.com] 
发送时间: 2011年2月2日 0:47
收件人: Cassandra Usergroup
主题: Row Key Types

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-
Mime
View raw message