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:[email protected]] Sent: Tuesday, April 20, 2010 12:25 PM To: [email protected] 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 <[email protected]<mailto:[email protected]>> wrote: You will have to pull the columns and filter yourself. From: Christian Torres [mailto:[email protected]<mailto:[email protected]>] Sent: Tuesday, April 20, 2010 11:50 AM To: [email protected]<mailto:[email protected]> Cc: [email protected]<mailto:[email protected]> 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
