public abstract class CassandraIndexSearcher extends java.lang.Object implements Index.Searcher
Modifier and Type | Field and Description |
---|---|
protected ReadCommand |
command |
protected CassandraIndex |
index |
Constructor and Description |
---|
CassandraIndexSearcher(ReadCommand command,
RowFilter.Expression expression,
CassandraIndex index) |
Modifier and Type | Method and Description |
---|---|
protected Clustering |
makeIndexClustering(java.nio.ByteBuffer rowKey,
Clustering clustering) |
protected abstract UnfilteredPartitionIterator |
queryDataFromIndex(DecoratedKey indexKey,
RowIterator indexHits,
ReadCommand command,
ReadOrderGroup orderGroup) |
UnfilteredPartitionIterator |
search(ReadOrderGroup orderGroup) |
protected final CassandraIndex index
protected final ReadCommand command
public CassandraIndexSearcher(ReadCommand command, RowFilter.Expression expression, CassandraIndex index)
public UnfilteredPartitionIterator search(ReadOrderGroup orderGroup)
search
in interface Index.Searcher
orderGroup
- the collection of OpOrder.Groups which the ReadCommand is being performed under.protected Clustering makeIndexClustering(java.nio.ByteBuffer rowKey, Clustering clustering)
protected abstract UnfilteredPartitionIterator queryDataFromIndex(DecoratedKey indexKey, RowIterator indexHits, ReadCommand command, ReadOrderGroup orderGroup)
Copyright © 2018 The Apache Software Foundation