Yes, with the restriction that at least one of the conditions must be
= on an indexed column.

See http://www.datastax.com/dev/blog/whats-new-cassandra-07-secondary-indexes
for an example.

On Thu, Jun 9, 2011 at 9:53 PM, Mark Kerzner <markkerz...@gmail.com> wrote:
> Hi,
> if I am using Cassandra's secondary indices, or even if I am doing it myself
> following Ed Anuff's advice, can I do multiple slices? That is, how do I
> imitate a SQL query of
> where column_1 > 5 and column_2 < 4 and so on, up to dozens of conditions?
> Thank you,
> Mark



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Reply via email to