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 protectedAbstractFlushablePartitionSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegularAndStaticColumnscolumns()The set of all columns that have been writtenCommitLogPositioncommitLogLowerBound()The commit log position at the time that this memtable was createdMemtable.LastCommitLogPositioncommitLogUpperBound()The commit log position at the time that this memtable was switched outlongdataSize()EncodingStatsencodingStats()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:
dataSizein interfaceSSTableWriter.SSTableSizeParameters
-
commitLogLowerBound
public CommitLogPosition commitLogLowerBound()
Description copied from interface:Memtable.FlushablePartitionSetThe commit log position at the time that this memtable was created- Specified by:
commitLogLowerBoundin interfaceMemtable.FlushablePartitionSet<P extends Partition>
-
commitLogUpperBound
public Memtable.LastCommitLogPosition commitLogUpperBound()
Description copied from interface:Memtable.FlushablePartitionSetThe commit log position at the time that this memtable was switched out- Specified by:
commitLogUpperBoundin interfaceMemtable.FlushablePartitionSet<P extends Partition>
-
encodingStats
public EncodingStats encodingStats()
Description copied from interface:Memtable.FlushablePartitionSetStatistics required for writing an sstable efficiently- Specified by:
encodingStatsin interfaceMemtable.FlushablePartitionSet<P extends Partition>
-
columns
public RegularAndStaticColumns columns()
Description copied from interface:Memtable.FlushablePartitionSetThe set of all columns that have been written- Specified by:
columnsin interfaceMemtable.FlushablePartitionSet<P extends Partition>
-
-