|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cassandra.db.filter.NamesQueryFilter
public class NamesQueryFilter
| Field Summary | |
|---|---|
java.util.SortedSet<java.nio.ByteBuffer> |
columns
|
| Constructor Summary | |
|---|---|
NamesQueryFilter(java.nio.ByteBuffer column)
|
|
NamesQueryFilter(java.util.SortedSet<java.nio.ByteBuffer> columns)
|
|
| Method Summary | |
|---|---|
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)
|
IColumnIterator |
getMemtableColumnIterator(ColumnFamily cf,
DecoratedKey key,
AbstractType comparator)
returns an iterator that returns columns from the given memtable matching the Filter criteria in sorted order. |
IColumnIterator |
getSSTableColumnIterator(SSTableReader sstable,
DecoratedKey key)
returns an iterator that returns columns from the given SSTable matching the Filter criteria in sorted order. |
IColumnIterator |
getSSTableColumnIterator(SSTableReader sstable,
FileDataInput file,
DecoratedKey key)
Get an iterator that returns columns from the given SSTable using the opened file matching the Filter criteria in sorted order. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final java.util.SortedSet<java.nio.ByteBuffer> columns
| Constructor Detail |
|---|
public NamesQueryFilter(java.util.SortedSet<java.nio.ByteBuffer> columns)
public NamesQueryFilter(java.nio.ByteBuffer column)
| Method Detail |
|---|
public IColumnIterator getMemtableColumnIterator(ColumnFamily cf,
DecoratedKey key,
AbstractType comparator)
IFilter
getMemtableColumnIterator in interface IFilter
public IColumnIterator getSSTableColumnIterator(SSTableReader sstable,
DecoratedKey key)
IFilter
getSSTableColumnIterator in interface IFilter
public IColumnIterator getSSTableColumnIterator(SSTableReader sstable,
FileDataInput file,
DecoratedKey key)
IFilter
getSSTableColumnIterator in interface IFilterfile - Already opened file data input, saves us opening another onekey - The key of the row we are about to iterate over
public SuperColumn filterSuperColumn(SuperColumn superColumn,
int gcBefore)
IFilter
filterSuperColumn in interface IFiltersuperColumn - may be modified by filtering op.
public void collectReducedColumns(IColumnContainer container,
java.util.Iterator<IColumn> reducedColumns,
int gcBefore)
IFilter
collectReducedColumns in interface IFilterpublic java.util.Comparator<IColumn> getColumnComparator(AbstractType comparator)
getColumnComparator in interface IFilterpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||