Class BigFormatPartitionWriter
java.lang.Object
org.apache.cassandra.io.sstable.format.SortedTablePartitionWriter
org.apache.cassandra.io.sstable.format.big.BigFormatPartitionWriter
- All Implemented Interfaces:
AutoCloseable
Column index builder used by
BigTableWriter.
For index entries that exceed Config.column_index_cache_size,
this uses the serialization logic as in RowIndexEntry.-
Field Summary
FieldsFields inherited from class org.apache.cassandra.io.sstable.format.SortedTablePartitionWriter
firstClustering, lastClustering, openMarker, startOpenMarker, startPosition, unfilteredSerializer, written -
Method Summary
Modifier and TypeMethodDescriptionvoidaddUnfiltered(Unfiltered unfiltered) buffer()voidclose()longfinish()intintint[]offsets()voidreset()Methods inherited from class org.apache.cassandra.io.sstable.format.SortedTablePartitionWriter
addStaticRow, currentPosition, getHeaderLength, getInitialPosition, start
-
Field Details
-
DEFAULT_GRANULARITY
public static final int DEFAULT_GRANULARITY- See Also:
-
-
Method Details
-
reset
public void reset()- Overrides:
resetin classSortedTablePartitionWriter
-
getColumnIndexCount
public int getColumnIndexCount() -
buffer
-
indexSamples
-
offsets
public int[] offsets() -
addUnfiltered
- Overrides:
addUnfilteredin classSortedTablePartitionWriter- Throws:
IOException
-
finish
- Overrides:
finishin classSortedTablePartitionWriter- Throws:
IOException
-
indexInfoSerializedSize
public int indexInfoSerializedSize() -
close
public void close()
-