public interface IDiskAtomFilter
Modifier and Type | Interface and Description |
---|---|
static class |
IDiskAtomFilter.Serializer |
Modifier and Type | Method and Description |
---|---|
void |
collectReducedColumns(IColumnContainer container,
java.util.Iterator<IColumn> reducedColumns,
int gcBefore)
collects columns from reducedColumns into returnCF.
|
SuperColumn |
filterSuperColumn(SuperColumn superColumn,
int gcBefore)
subcolumns of a supercolumn are unindexed, so to pick out parts of those we operate in-memory.
|
java.util.Comparator<IColumn> |
getColumnComparator(AbstractType<?> comparator) |
int |
getLiveCount(ColumnFamily cf) |
OnDiskAtomIterator |
getMemtableColumnIterator(ColumnFamily cf,
DecoratedKey key)
returns an iterator that returns columns from the given memtable
matching the Filter criteria in sorted order.
|
ISSTableColumnIterator |
getSSTableColumnIterator(SSTableReader sstable,
DecoratedKey key)
returns an iterator that returns columns from the given SSTable
matching the Filter criteria in sorted order.
|
ISSTableColumnIterator |
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 |
isReversed() |
void |
updateColumnsLimit(int newLimit) |
OnDiskAtomIterator getMemtableColumnIterator(ColumnFamily cf, DecoratedKey key)
ISSTableColumnIterator 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 overISSTableColumnIterator getSSTableColumnIterator(SSTableReader sstable, DecoratedKey key)
void collectReducedColumns(IColumnContainer container, java.util.Iterator<IColumn> reducedColumns, int gcBefore)
SuperColumn filterSuperColumn(SuperColumn superColumn, int gcBefore)
superColumn
- may be modified by filtering op.java.util.Comparator<IColumn> getColumnComparator(AbstractType<?> comparator)
boolean isReversed()
void updateColumnsLimit(int newLimit)
int getLiveCount(ColumnFamily cf)
Copyright © 2013 The Apache Software Foundation