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:
Iterable<P>,Memtable.FlushablePartitionSet<P>,SSTableWriter.SSTableSizeParameters
- Enclosing class:
- AbstractMemtable
protected abstract class AbstractMemtable.AbstractFlushablePartitionSet<P extends Partition>
extends Object
implements Memtable.FlushablePartitionSet<P>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncolumns()The set of all columns that have been writtenThe commit log position at the time that this memtable was createdThe commit log position at the time that this memtable was switched outlongdataSize()Statistics required for writing an sstable efficientlyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.apache.cassandra.db.memtable.Memtable.FlushablePartitionSet
from, isEmpty, memtable, metadata, toMethods inherited from interface org.apache.cassandra.io.sstable.format.SSTableWriter.SSTableSizeParameters
partitionCount, partitionKeysSize
-
Constructor Details
-
AbstractFlushablePartitionSet
protected AbstractFlushablePartitionSet()
-
-
Method Details
-
dataSize
public long dataSize()- Specified by:
dataSizein interfaceSSTableWriter.SSTableSizeParameters
-
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
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
Description copied from interface:Memtable.FlushablePartitionSetStatistics required for writing an sstable efficiently- Specified by:
encodingStatsin interfaceMemtable.FlushablePartitionSet<P extends Partition>
-
columns
Description copied from interface:Memtable.FlushablePartitionSetThe set of all columns that have been written- Specified by:
columnsin interfaceMemtable.FlushablePartitionSet<P extends Partition>
-