public interface IDiskAtomFilter
Modifier and Type | Interface and Description |
---|---|
static class |
IDiskAtomFilter.Serializer |
Modifier and Type | Method and Description |
---|---|
IDiskAtomFilter |
cloneShallow() |
void |
collectReducedColumns(ColumnFamily container,
java.util.Iterator<Cell> reducedColumns,
DecoratedKey key,
int gcBefore,
long now)
collects columns from reducedColumns into returnCF.
|
ColumnCounter |
columnCounter(CellNameType comparator,
long now) |
boolean |
countCQL3Rows(CellNameType comparator) |
java.util.Comparator<Cell> |
getColumnComparator(CellNameType comparator) |
java.util.Iterator<Cell> |
getColumnIterator(ColumnFamily cf)
returns an iterator that returns columns from the given columnFamily
matching the Filter criteria in sorted order.
|
OnDiskAtomIterator |
getColumnIterator(DecoratedKey key,
ColumnFamily cf) |
int |
getLiveCount(ColumnFamily cf,
long now) |
java.util.Iterator<RangeTombstone> |
getRangeTombstoneIterator(ColumnFamily source) |
OnDiskAtomIterator |
getSSTableColumnIterator(SSTableReader sstable,
DecoratedKey key)
returns an iterator that returns columns from the given SSTable
matching the Filter criteria in sorted order.
|
OnDiskAtomIterator |
getSSTableColumnIterator(SSTableReader sstable,
FileDataInput file,
DecoratedKey key,
RowIndexEntry indexEntry)
Get an iterator that returns columns from the given SSTable using the opened file
matching the Filter criteria in sorted order.
|
boolean |
isFullyCoveredBy(ColumnFamily cf,
long now)
Whether the provided cf, that is assumed to contain the head of the
partition, contains enough data to cover this filter.
|
boolean |
isHeadFilter() |
boolean |
isReversed() |
boolean |
maySelectPrefix(CType type,
Composite prefix) |
boolean |
shouldInclude(SSTableReader sstable) |
void |
updateColumnsLimit(int newLimit) |
java.util.Iterator<Cell> getColumnIterator(ColumnFamily cf)
OnDiskAtomIterator getColumnIterator(DecoratedKey key, ColumnFamily cf)
OnDiskAtomIterator getSSTableColumnIterator(SSTableReader sstable, FileDataInput file, DecoratedKey key, RowIndexEntry indexEntry)
sstable
- file
- Already opened file data input, saves us opening another onekey
- The key of the row we are about to iterate overOnDiskAtomIterator getSSTableColumnIterator(SSTableReader sstable, DecoratedKey key)
void collectReducedColumns(ColumnFamily container, java.util.Iterator<Cell> reducedColumns, DecoratedKey key, int gcBefore, long now)
java.util.Comparator<Cell> getColumnComparator(CellNameType comparator)
boolean isReversed()
void updateColumnsLimit(int newLimit)
int getLiveCount(ColumnFamily cf, long now)
ColumnCounter columnCounter(CellNameType comparator, long now)
IDiskAtomFilter cloneShallow()
boolean shouldInclude(SSTableReader sstable)
boolean countCQL3Rows(CellNameType comparator)
boolean isHeadFilter()
boolean isFullyCoveredBy(ColumnFamily cf, long now)
java.util.Iterator<RangeTombstone> getRangeTombstoneIterator(ColumnFamily source)
Copyright © 2020 The Apache Software Foundation