cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Jones <MJo...@imagehawk.com>
Subject RE: Filters
Date Tue, 20 Apr 2010 17:27:42 GMT
If you notice the SlicePredicate accepts column names, but not values.  You can tell it pull
these 3 columns, but there is no "if/where" in there.

SliceRange is I think, based on the key, since it doesn't have a way to pair up column names/values

From: Christian Torres [mailto:chtorrez@gmail.com]
Sent: Tuesday, April 20, 2010 12:25 PM
To: user@cassandra.apache.org
Subject: Re: Filters

Mmmm...

According with this doc http://wiki.apache.org/cassandra/API#get_slice that a developer mailed
to me It's possible!!

I sent you as reference
On Tue, Apr 20, 2010 at 11:17 AM, Mark Jones <MJones@imagehawk.com<mailto:MJones@imagehawk.com>>
wrote:
You will have to pull the columns and filter yourself.

From: Christian Torres [mailto:chtorrez@gmail.com<mailto:chtorrez@gmail.com>]
Sent: Tuesday, April 20, 2010 11:50 AM
To: user@cassandra.apache.org<mailto:user@cassandra.apache.org>
Cc: dev@cassandra.apache.org<mailto:dev@cassandra.apache.org>
Subject: Filters

Hello!

Is there any way to make filters (WHEREs) in cassandra? Or I have to manages to do it

For example:

I have a ColumnFamily with a column in each row whose value is a state... Public or Private,
so I want to filter all rows that are private and also the public ones in other form... Beside
in that rows I will have names of persons and I'll need to filter by Initials or Complete
Lastnames, etc.

So any idea?

Regards

--
Christian Torres * Desarrollador Web * Guegue.com *
Celular: +505 84 65 92 62 * Loving of the Programming



--
Christian Torres * Desarrollador Web * Guegue.com *
Celular: +505 84 65 92 62 * Loving of the Programming

Mime
View raw message