Re: Hector and secondary indexes

2010-12-13 Thread Nate McCall
In the hector source tree, IndexedSlicesQueryTest should provide some additional examples: https://github.com/rantav/hector/blob/master/core/src/test/java/me/prettyprint/cassandra/model/IndexedSlicesQueryTest.java A stand-alone example that might be easier to experiment with can be found here: htt

Re: Hector and secondary indexes

2010-12-13 Thread Jake Luciani
There is an example using hector here: http://www.riptano.com/blog/whats-new-cassandra-07-secondary-indexes On Mon, Dec 13, 2010 at 6:25 AM, Sébastien Druon wrote: > Hello! > > How is it possible to query a secondary index with Hector? > The equivalent of the following CLI command for example: >

Hector and secondary indexes

2010-12-13 Thread Sébastien Druon
Hello! How is it possible to query a secondary index with Hector? The equivalent of the following CLI command for example: get users where birth_date = 1973; with a secondary index defined on birth_date Thanks in advance for the help Sebastien Druon