public static class SSTableMetadata.Collector
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<java.lang.Integer> |
ancestors |
protected double |
compressionRatio |
protected EstimatedHistogram |
estimatedColumnCount |
protected EstimatedHistogram |
estimatedRowSize |
protected StreamingHistogram |
estimatedTombstoneDropTime |
protected java.util.List<java.nio.ByteBuffer> |
maxColumnNames |
protected int |
maxLocalDeletionTime |
protected long |
maxTimestamp |
protected java.util.List<java.nio.ByteBuffer> |
minColumnNames |
protected long |
minTimestamp |
protected ReplayPosition |
replayPosition |
protected int |
sstableLevel |
Modifier and Type | Method and Description |
---|---|
SSTableMetadata.Collector |
addAncestor(int generation) |
void |
addColumnCount(long columnCount) |
void |
addCompressionRatio(long compressed,
long uncompressed)
Ratio is compressed/uncompressed and it is
if you have 1.x then compression isn't helping
|
void |
addRowSize(long rowSize) |
SSTableMetadata.Collector |
estimatedColumnCount(EstimatedHistogram estimatedColumnCount) |
SSTableMetadata.Collector |
estimatedRowSize(EstimatedHistogram estimatedRowSize) |
SSTableMetadata |
finalizeMetadata(java.lang.String partitioner,
double bloomFilterFPChance) |
void |
mergeTombstoneHistogram(StreamingHistogram histogram) |
SSTableMetadata.Collector |
replayPosition(ReplayPosition replayPosition) |
SSTableMetadata.Collector |
sstableLevel(int sstableLevel) |
SSTableMetadata.Collector |
updateMaxColumnNames(java.util.List<java.nio.ByteBuffer> maxColumnNames) |
void |
updateMaxLocalDeletionTime(int maxLocalDeletionTime) |
void |
updateMaxTimestamp(long potentialMax) |
SSTableMetadata.Collector |
updateMinColumnNames(java.util.List<java.nio.ByteBuffer> minColumnNames) |
void |
updateMinTimestamp(long potentialMin) |
protected EstimatedHistogram estimatedRowSize
protected EstimatedHistogram estimatedColumnCount
protected ReplayPosition replayPosition
protected long minTimestamp
protected long maxTimestamp
protected int maxLocalDeletionTime
protected double compressionRatio
protected java.util.Set<java.lang.Integer> ancestors
protected StreamingHistogram estimatedTombstoneDropTime
protected int sstableLevel
protected java.util.List<java.nio.ByteBuffer> minColumnNames
protected java.util.List<java.nio.ByteBuffer> maxColumnNames
public void addRowSize(long rowSize)
public void addColumnCount(long columnCount)
public void mergeTombstoneHistogram(StreamingHistogram histogram)
public void addCompressionRatio(long compressed, long uncompressed)
public void updateMinTimestamp(long potentialMin)
public void updateMaxTimestamp(long potentialMax)
public void updateMaxLocalDeletionTime(int maxLocalDeletionTime)
public SSTableMetadata finalizeMetadata(java.lang.String partitioner, double bloomFilterFPChance)
public SSTableMetadata.Collector estimatedRowSize(EstimatedHistogram estimatedRowSize)
public SSTableMetadata.Collector estimatedColumnCount(EstimatedHistogram estimatedColumnCount)
public SSTableMetadata.Collector replayPosition(ReplayPosition replayPosition)
public SSTableMetadata.Collector addAncestor(int generation)
public SSTableMetadata.Collector sstableLevel(int sstableLevel)
public SSTableMetadata.Collector updateMinColumnNames(java.util.List<java.nio.ByteBuffer> minColumnNames)
public SSTableMetadata.Collector updateMaxColumnNames(java.util.List<java.nio.ByteBuffer> maxColumnNames)
Copyright © 2013 The Apache Software Foundation