http://wiki.apache.org/cassandra/API#get_slice
get_slice retrieves the values for either (a) a list of column names or (b)
a range of columns, depending on the SlicePredicate you use.  It does not
allow you to filter a la SQL's WHERE.  You would need to create your own
index to do so, at least until secondary indices are implemented in
Cassandra (not until 0.8 at least, feel free to follow
https://issues.apache.org/jira/browse/CASSANDRA-749 )
On Tue, Apr 20, 2010 at 12:24 PM, Christian Torres <chtor...@gmail.com>wrote:

> Mmmm...
>
> According with this doc http://wiki.apache.org/cassandra/API#get_slicethat a 
> developer mailed to me It's possible!!
>
> I sent you as reference
>
>
> On Tue, Apr 20, 2010 at 11:17 AM, Mark Jones <mjo...@imagehawk.com> wrote:
>
>>  You will have to pull the columns and filter yourself.
>>
>>
>>
>> *From:* Christian Torres [mailto:chtor...@gmail.com]
>> *Sent:* Tuesday, April 20, 2010 11:50 AM
>> *To:* user@cassandra.apache.org
>> *Cc:* d...@cassandra.apache.org
>> *Subject:* Filters
>>
>>
>>
>> Hello!
>>
>> Is there any way to make filters (WHEREs) in cassandra? Or I have tomanages 
>> to doit
>>
>> 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
>

Reply via email to