Class SortedTablePartitionWriter
java.lang.Object
org.apache.cassandra.io.sstable.format.SortedTablePartitionWriter
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
BigFormatPartitionWriter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ClusteringPrefix<?>protected ClusteringPrefix<?>protected DeletionTimeprotected DeletionTimeprotected longprotected final UnfilteredSerializerprotected int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSortedTablePartitionWriter(SerializationHeader header, SequentialWriter writer, Version version) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStaticRow(Row staticRow) voidaddUnfiltered(Unfiltered unfiltered) protected longprotected longfinish()longlongprotected voidreset()voidstart(DecoratedKey key, DeletionTime partitionLevelDeletion) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.AutoCloseable
close
-
Field Details
-
unfilteredSerializer
-
startPosition
protected long startPosition -
written
protected int written -
firstClustering
-
lastClustering
-
openMarker
-
startOpenMarker
-
-
Constructor Details
-
SortedTablePartitionWriter
protected SortedTablePartitionWriter(SerializationHeader header, SequentialWriter writer, Version version)
-
-
Method Details
-
reset
protected void reset() -
getHeaderLength
public long getHeaderLength() -
start
- Throws:
IOException
-
addStaticRow
- Throws:
IOException
-
addUnfiltered
- Throws:
IOException
-
finish
- Throws:
IOException
-
currentPosition
protected long currentPosition() -
getInitialPosition
public long getInitialPosition()
-