public abstract class ExtendedFilter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ExtendedFilter.WithClauses |
Modifier and Type | Field and Description |
---|---|
ColumnFamilyStore |
cfs |
DataRange |
dataRange |
long |
timestamp |
Modifier | Constructor and Description |
---|---|
protected |
ExtendedFilter(ColumnFamilyStore cfs,
DataRange dataRange,
int maxResults,
boolean countCQL3Rows,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
IDiskAtomFilter |
columnFilter(java.nio.ByteBuffer key) |
static ExtendedFilter |
create(ColumnFamilyStore cfs,
DataRange dataRange,
java.util.List<IndexExpression> clause,
int maxResults,
boolean countCQL3Rows,
long timestamp) |
int |
currentLimit() |
abstract java.util.List<IndexExpression> |
getClause() |
abstract IDiskAtomFilter |
getExtraFilter(DecoratedKey key,
ColumnFamily data)
Returns a filter to query the columns from the clause that the initial slice filter may not have caught.
|
boolean |
ignoreTombstonedPartitions()
Returns true if tombstoned partitions should not be included in results or count towards the limit, false otherwise.
|
abstract boolean |
isSatisfiedBy(DecoratedKey rowKey,
ColumnFamily data,
Composite prefix,
java.nio.ByteBuffer collectionElement) |
int |
lastCounted(ColumnFamily data) |
int |
maxColumns() |
int |
maxRows() |
abstract ColumnFamily |
prune(DecoratedKey key,
ColumnFamily data) |
static boolean |
satisfies(int comparison,
Operator op) |
java.lang.String |
toString() |
void |
updateFilter(int currentColumnsCount) |
public final ColumnFamilyStore cfs
public final long timestamp
public final DataRange dataRange
protected ExtendedFilter(ColumnFamilyStore cfs, DataRange dataRange, int maxResults, boolean countCQL3Rows, long timestamp)
public static ExtendedFilter create(ColumnFamilyStore cfs, DataRange dataRange, java.util.List<IndexExpression> clause, int maxResults, boolean countCQL3Rows, long timestamp)
public int maxRows()
public int maxColumns()
public int currentLimit()
public IDiskAtomFilter columnFilter(java.nio.ByteBuffer key)
public int lastCounted(ColumnFamily data)
public void updateFilter(int currentColumnsCount)
public abstract java.util.List<IndexExpression> getClause()
public abstract IDiskAtomFilter getExtraFilter(DecoratedKey key, ColumnFamily data)
data
- the data retrieve by the initial filterpublic abstract ColumnFamily prune(DecoratedKey key, ColumnFamily data)
public boolean ignoreTombstonedPartitions()
public abstract boolean isSatisfiedBy(DecoratedKey rowKey, ColumnFamily data, Composite prefix, java.nio.ByteBuffer collectionElement)
public static boolean satisfies(int comparison, Operator op)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018 The Apache Software Foundation