Package org.apache.cassandra.db.rows
Interface UnfilteredSource
-
- All Known Subinterfaces:
Memtable
- All Known Implementing Classes:
AbstractAllocatorMemtable,AbstractMemtable,AbstractMemtableWithCommitlog,BigTableReader,ShardedSkipListMemtable,SkipListMemtable,SSTableReader
public interface UnfilteredSourceCommon data access interface for sstables and memtables.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description intgetMinLocalDeletionTime()Minimum local deletion time in the memtablelonggetMinTimestamp()Minimum timestamp of all stored dataUnfilteredPartitionIteratorpartitionIterator(ColumnFilter columnFilter, DataRange dataRange, SSTableReadsListener listener)Returns a partition iterator for the given data range.default UnfilteredRowIteratorrowIterator(DecoratedKey key)UnfilteredRowIteratorrowIterator(DecoratedKey key, Slices slices, ColumnFilter columnFilter, boolean reversed, SSTableReadsListener listener)Returns a row iterator for the given partition, applying the specified row and column filters.
-
-
-
Method Detail
-
rowIterator
UnfilteredRowIterator rowIterator(DecoratedKey key, Slices slices, ColumnFilter columnFilter, boolean reversed, SSTableReadsListener listener)
Returns a row iterator for the given partition, applying the specified row and column filters.- Parameters:
key- the partition keyslices- the row ranges to returncolumnFilter- filter to apply to all returned partitionsreversed- true if the content should be returned in reverse orderlistener- a listener used to handle internal read events
-
rowIterator
default UnfilteredRowIterator rowIterator(DecoratedKey key)
-
partitionIterator
UnfilteredPartitionIterator partitionIterator(ColumnFilter columnFilter, DataRange dataRange, SSTableReadsListener listener)
Returns a partition iterator for the given data range.- Parameters:
columnFilter- filter to apply to all returned partitionsdataRange- the partition and clustering range queriedlistener- a listener used to handle internal read events
-
getMinTimestamp
long getMinTimestamp()
Minimum timestamp of all stored data
-
getMinLocalDeletionTime
int getMinLocalDeletionTime()
Minimum local deletion time in the memtable
-
-