incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien Pierre <sebastien.pie...@gmail.com>
Subject Re: How to retrieve keys from Cassandra ?
Date Tue, 02 Feb 2010 16:09:58 GMT
Hi Jonathan,

In my case, I'll have much more columns (thousands to millions) than keys in
logs (campaign x days), so it's not an issue to retrieve all of them.

Also, if you assume that you can't retrieve values from Cassandra, just
because you're using the wrong key (say your using "user/10" instead of
"user:10") without the ability to list the keys, you'd have no way to find
out the error.

I'm glad to see this implemented :)

 -- Sébastien

2010/2/2 Jonathan Ellis <jbellis@gmail.com>

> More or less (but see
> https://issues.apache.org/jira/browse/CASSANDRA-745, in 0.6).
>
> Think of it this way: when you have a few billion keys, how useful is
> it to list them?
>
> -Jonathan
>
> 2010/2/2 Sébastien Pierre <sebastien.pierre@gmail.com>:
> > Hi all,
> > I would like to know how to retrieve the list of available keys available
> > for a specific column. There is the get_key_range method, but it is only
> > available when using the OrderPreservingPartitioner -- I use a
> > RandomPartitioner.
> > Does this mean that when using a RandomPartitioner, you cannot see which
> > keys are available in the database ?
> >  -- Sébastien
>

Mime
View raw message