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,
ReadExecutionController executionController) |
UnfilteredPartitionIterator |
search(ReadExecutionController executionController) |
protected final CassandraIndex index
protected final ReadCommand command
public CassandraIndexSearcher(ReadCommand command, RowFilter.Expression expression, CassandraIndex index)
public UnfilteredPartitionIterator search(ReadExecutionController executionController)
search
in interface Index.Searcher
executionController
- 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, ReadExecutionController executionController)
Copyright © 2009-2021 The Apache Software Foundation