1

I have a column family in Cassandra and on one particular column, I have secondary index defined.

I want to fetch row key for this particular column value. How can I achieve this using plain Thrift API for Java? In Pelops I achieve this by creating IndexClause and calling:

Map <Bytes, List<Column>> qResults = selector.getIndexedColumns(tableName, 
                                                               ix,    
                                                               slicePredicate,
                                                               consistencyLevel);
4

1 に答える 1

2

ご覧ください:

http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Row-iteration-over-indexed-clause-td7368274.html

于 2012-08-21T04:34:41.997 に答える