Package org.apache.cassandra.db.memtable
Class AbstractMemtable.AbstractFlushablePartitionSet<P extends Partition>
- java.lang.Object
-
- org.apache.cassandra.db.memtable.AbstractMemtable.AbstractFlushablePartitionSet<P>
-
- All Implemented Interfaces:
java.lang.Iterable<P>
,Memtable.FlushablePartitionSet<P>
,SSTableWriter.SSTableSizeParameters
- Enclosing class:
- AbstractMemtable
protected abstract class AbstractMemtable.AbstractFlushablePartitionSet<P extends Partition> extends java.lang.Object implements Memtable.FlushablePartitionSet<P>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractFlushablePartitionSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegularAndStaticColumns
columns()
The set of all columns that have been writtenCommitLogPosition
commitLogLowerBound()
The commit log position at the time that this memtable was createdMemtable.LastCommitLogPosition
commitLogUpperBound()
The commit log position at the time that this memtable was switched outlong
dataSize()
EncodingStats
encodingStats()
Statistics required for writing an sstable efficiently-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.db.memtable.Memtable.FlushablePartitionSet
from, isEmpty, memtable, metadata, to
-
Methods inherited from interface org.apache.cassandra.io.sstable.format.SSTableWriter.SSTableSizeParameters
partitionCount, partitionKeysSize
-
-
-
-
Method Detail
-
dataSize
public long dataSize()
- Specified by:
dataSize
in interfaceSSTableWriter.SSTableSizeParameters
-
commitLogLowerBound
public CommitLogPosition commitLogLowerBound()
Description copied from interface:Memtable.FlushablePartitionSet
The commit log position at the time that this memtable was created- Specified by:
commitLogLowerBound
in interfaceMemtable.FlushablePartitionSet<P extends Partition>
-
commitLogUpperBound
public Memtable.LastCommitLogPosition commitLogUpperBound()
Description copied from interface:Memtable.FlushablePartitionSet
The commit log position at the time that this memtable was switched out- Specified by:
commitLogUpperBound
in interfaceMemtable.FlushablePartitionSet<P extends Partition>
-
encodingStats
public EncodingStats encodingStats()
Description copied from interface:Memtable.FlushablePartitionSet
Statistics required for writing an sstable efficiently- Specified by:
encodingStats
in interfaceMemtable.FlushablePartitionSet<P extends Partition>
-
columns
public RegularAndStaticColumns columns()
Description copied from interface:Memtable.FlushablePartitionSet
The set of all columns that have been written- Specified by:
columns
in interfaceMemtable.FlushablePartitionSet<P extends Partition>
-
-