public class QueryController
extends java.lang.Object
Constructor and Description |
---|
QueryController(ColumnFamilyStore cfs,
PartitionRangeReadCommand command,
long timeQuotaMs) |
Modifier and Type | Method and Description |
---|---|
void |
checkpoint() |
DataRange |
dataRange() |
void |
finish() |
java.util.Collection<RowFilter.Expression> |
getExpressions() |
ColumnIndex |
getIndex(RowFilter.Expression expression) |
RangeIterator.Builder<java.lang.Long,Token> |
getIndexes(Operation.OperationType op,
java.util.Collection<Expression> expressions)
Build a range iterator from the given list of expressions by applying given operation (OR/AND).
|
AbstractType<?> |
getKeyValidator() |
UnfilteredRowIterator |
getPartition(DecoratedKey key,
ReadExecutionController executionController) |
boolean |
isForThrift() |
CFMetaData |
metadata() |
void |
releaseIndexes(Operation operation) |
public QueryController(ColumnFamilyStore cfs, PartitionRangeReadCommand command, long timeQuotaMs)
public boolean isForThrift()
public CFMetaData metadata()
public java.util.Collection<RowFilter.Expression> getExpressions()
public DataRange dataRange()
public AbstractType<?> getKeyValidator()
public ColumnIndex getIndex(RowFilter.Expression expression)
public UnfilteredRowIterator getPartition(DecoratedKey key, ReadExecutionController executionController)
public RangeIterator.Builder<java.lang.Long,Token> getIndexes(Operation.OperationType op, java.util.Collection<Expression> expressions)
releaseIndexes(Operation)
.op
- The operation type to coalesce expressions with.expressions
- The expressions to build range iterator from (expressions with not results are ignored).public void checkpoint()
public void releaseIndexes(Operation operation)
public void finish()
Copyright © 2017 The Apache Software Foundation