org.apache.cassandra.io.sstable
Class SSTableMetadata.Collector
java.lang.Object
org.apache.cassandra.io.sstable.SSTableMetadata.Collector
- Enclosing class:
- SSTableMetadata
public static class SSTableMetadata.Collector
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
estimatedRowSize
protected EstimatedHistogram estimatedRowSize
estimatedColumnCount
protected EstimatedHistogram estimatedColumnCount
replayPosition
protected ReplayPosition replayPosition
maxTimestamp
protected long maxTimestamp
compressionRatio
protected double compressionRatio
ancestors
protected java.util.Set<java.lang.Integer> ancestors
estimatedTombstoneDropTime
protected StreamingHistogram estimatedTombstoneDropTime
SSTableMetadata.Collector
public SSTableMetadata.Collector()
addRowSize
public void addRowSize(long rowSize)
addColumnCount
public void addColumnCount(long columnCount)
mergeTombstoneHistogram
public void mergeTombstoneHistogram(StreamingHistogram histogram)
addCompressionRatio
public void addCompressionRatio(long compressed,
long uncompressed)
- Ratio is compressed/uncompressed and it is
if you have 1.x then compression isn't helping
updateMaxTimestamp
public void updateMaxTimestamp(long potentialMax)
finalizeMetadata
public SSTableMetadata finalizeMetadata(java.lang.String partitioner)
estimatedRowSize
public SSTableMetadata.Collector estimatedRowSize(EstimatedHistogram estimatedRowSize)
estimatedColumnCount
public SSTableMetadata.Collector estimatedColumnCount(EstimatedHistogram estimatedColumnCount)
replayPosition
public SSTableMetadata.Collector replayPosition(ReplayPosition replayPosition)
addAncestor
public SSTableMetadata.Collector addAncestor(int generation)
Copyright © 2012 The Apache Software Foundation