public static class ExtendedFilter.WithClauses extends ExtendedFilter
ExtendedFilter.WithClauses
cfs, dataRange, timestamp
Constructor and Description |
---|
WithClauses(ColumnFamilyStore cfs,
DataRange range,
java.util.List<IndexExpression> clause,
int maxResults,
boolean countCQL3Rows,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
IDiskAtomFilter |
columnFilter(java.nio.ByteBuffer key) |
java.util.List<IndexExpression> |
getClause() |
IDiskAtomFilter |
getExtraFilter(DecoratedKey rowKey,
ColumnFamily data)
Returns a filter to query the columns from the clause that the initial slice filter may not have caught.
|
boolean |
isSatisfiedBy(DecoratedKey rowKey,
ColumnFamily data,
Composite prefix,
java.nio.ByteBuffer collectionElement) |
ColumnFamily |
prune(DecoratedKey rowKey,
ColumnFamily data) |
java.lang.String |
toString() |
create, currentLimit, ignoreTombstonedPartitions, lastCounted, maxColumns, maxRows, satisfies, updateFilter
public WithClauses(ColumnFamilyStore cfs, DataRange range, java.util.List<IndexExpression> clause, int maxResults, boolean countCQL3Rows, long timestamp)
public IDiskAtomFilter columnFilter(java.nio.ByteBuffer key)
columnFilter
in class ExtendedFilter
public java.util.List<IndexExpression> getClause()
getClause
in class ExtendedFilter
public IDiskAtomFilter getExtraFilter(DecoratedKey rowKey, ColumnFamily data)
ExtendedFilter
getExtraFilter
in class ExtendedFilter
data
- the data retrieve by the initial filterpublic ColumnFamily prune(DecoratedKey rowKey, ColumnFamily data)
prune
in class ExtendedFilter
public boolean isSatisfiedBy(DecoratedKey rowKey, ColumnFamily data, Composite prefix, java.nio.ByteBuffer collectionElement)
isSatisfiedBy
in class ExtendedFilter
public java.lang.String toString()
toString
in class ExtendedFilter
Copyright © 2018 The Apache Software Foundation