org.apache.cassandra.io.sstable
Class SSTableMetadata
java.lang.Object
org.apache.cassandra.io.sstable.SSTableMetadata
public class SSTableMetadata
- extends java.lang.Object
Metadata for a SSTable.
Metadata includes:
- estimated row size histogram
- estimated column count histogram
- replay position
- max column timestamp
An SSTableMetadata should be instantiated via the Collector, openFromDescriptor()
or createDefaultInstance()
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
estimatedRowSize
protected final EstimatedHistogram estimatedRowSize
estimatedColumnCount
protected final EstimatedHistogram estimatedColumnCount
replayPosition
protected final ReplayPosition replayPosition
maxTimestamp
protected final long maxTimestamp
compressionRatio
protected final double compressionRatio
serializer
public static final SSTableMetadata.SSTableMetadataSerializer serializer
createDefaultInstance
public static SSTableMetadata createDefaultInstance()
createCollector
public static SSTableMetadata.Collector createCollector()
getEstimatedRowSize
public EstimatedHistogram getEstimatedRowSize()
getEstimatedColumnCount
public EstimatedHistogram getEstimatedColumnCount()
getReplayPosition
public ReplayPosition getReplayPosition()
getMaxTimestamp
public long getMaxTimestamp()
getCompressionRatio
public double getCompressionRatio()
Copyright © 2011 The Apache Software Foundation