Package org.apache.cassandra.db.rows
Interface UnfilteredSource
- All Known Subinterfaces:
Memtable
- All Known Implementing Classes:
AbstractAllocatorMemtable,AbstractMemtable,AbstractMemtableWithCommitlog,AbstractShardedMemtable,BigTableReader,BtiTableReader,ShardedSkipListMemtable,SkipListMemtable,SSTableReader,SSTableReaderWithFilter,TrieMemtable
public interface UnfilteredSource
Common data access interface for sstables and memtables.
-
Method Summary
Modifier and TypeMethodDescriptionlongMinimum local deletion time in the memtablelongMinimum timestamp of all stored datapartitionIterator(ColumnFilter columnFilter, DataRange dataRange, SSTableReadsListener listener) Returns a partition iterator for the given data range.default UnfilteredRowIteratorrowIterator(DecoratedKey key) 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.
-
Method Details
-
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
-
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
long getMinLocalDeletionTime()Minimum local deletion time in the memtable
-