cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <>
Subject Re: get keys based on values??
Date Wed, 06 Oct 2010 19:21:20 GMT
On Wed, Oct 6, 2010 at 1:49 PM, Brayton Thompson <> wrote:
> Ok, let me tweak the scenario a tiny bit. What if I wanted something
> extremely arbitrary, for instance... simple comparisons like a WHERE clause
> in SQL....
> get Users.someuser['uuid'] where Users.someuser['age']  >  33
> From what i've read this functionality defeats the point of Cassandra
> because instead of indexing directly to a value C* would have to got to a
> value and run a check for every entry.  Am I correct here?

No, this is the whole point of secondary indexes.  But, > queries
won't be supported until probably 0.7.1.

Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support

View raw message