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 long |
maxTimestamp |
protected long |
minTimestamp |
protected ReplayPosition |
replayPosition |
Constructor and Description |
---|
SSTableMetadata.Collector() |
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) |
void |
mergeTombstoneHistogram(StreamingHistogram histogram) |
SSTableMetadata.Collector |
replayPosition(ReplayPosition replayPosition) |
void |
updateMaxTimestamp(long potentialMax) |
void |
updateMinTimestamp(long potentialMin) |
protected EstimatedHistogram estimatedRowSize
protected EstimatedHistogram estimatedColumnCount
protected ReplayPosition replayPosition
protected long minTimestamp
protected long maxTimestamp
protected double compressionRatio
protected java.util.Set<java.lang.Integer> ancestors
protected StreamingHistogram estimatedTombstoneDropTime
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 SSTableMetadata finalizeMetadata(java.lang.String partitioner)
public SSTableMetadata.Collector estimatedRowSize(EstimatedHistogram estimatedRowSize)
public SSTableMetadata.Collector estimatedColumnCount(EstimatedHistogram estimatedColumnCount)
public SSTableMetadata.Collector replayPosition(ReplayPosition replayPosition)
public SSTableMetadata.Collector addAncestor(int generation)
Copyright © 2013 The Apache Software Foundation