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:
https://github.com/zznate/hector-examples/blob/master/src/main/java/com/riptano/cassandra/hector/example/GetIndexedSlices.java

For detailed Hector questions, feel free to join our mailing list as well:
hector-us...@googlegroups.com


On Mon, Dec 13, 2010 at 6:19 AM, Jake Luciani <jak...@gmail.com> wrote:
> 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 <sdr...@spotuse.com> wrote:
>>
>> 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
>>
>
>

Reply via email to