Ellis
Subject: Re: row key as long type
To: user@cassandra.apache.org
Date: Friday, 9 September, 2011, 1:46 AM
Probably because you had some non-long data in it, then added the long type
later.
On Thu, Sep 8, 2011 at 2:51 PM, amulya rattan wrote:
But I explicitly remember List throwing "lo
Probably because you had some non-long data in it, then added the long type
later.
On Thu, Sep 8, 2011 at 2:51 PM, amulya rattan wrote:
> But I explicitly remember List throwing "long is exactly 8 bytes" when i
> invoked on a column family with long as key.
> Why would that happen?
>
>
> On Thu,
But I explicitly remember List throwing "long is exactly 8 bytes" when i
invoked on a column family with long as key.
Why would that happen?
On Thu, Sep 8, 2011 at 10:07 AM, Jonathan Ellis wrote:
> List should work fine on any schema, including long keys.
>
>
> On Thu, Sep 8, 2011 at 8:23 AM, am
List should work fine on any schema, including long keys.
On Thu, Sep 8, 2011 at 8:23 AM, amulya rattan wrote:
> Row key can certainly be of type long..you'd just have to set
> key_validataion_class to be LongType.
>
> However, doing list on column family would throw an error..please look at
> h
Row key can certainly be of type long..you'd just have to set
key_validataion_class to be LongType.
However, doing list on column family would throw an error..please look at
http://wiki.apache.org/cassandra/FAQ#a_long_is_exactly_8_bytes
On Thu, Sep 8, 2011 at 8:14 AM, Thamizh wrote:
> Hi All,
>
Hi All,
Is there a way to store number(longtype) as row key in Cassadra?
I wanted to execute range query based on row key value. e.g $list
info[12345:]; . It should list all the rowkeys which are >= 12345.
Is there a way accompolish this in cassandra? Secondary index does
not helped me. So I