public class StatsMetadata extends MetadataComponent
Modifier and Type | Class and Description |
---|---|
static class |
StatsMetadata.StatsMetadataSerializer |
Modifier and Type | Field and Description |
---|---|
ReplayPosition |
commitLogLowerBound |
ReplayPosition |
commitLogUpperBound |
double |
compressionRatio |
EstimatedHistogram |
estimatedColumnCount |
EstimatedHistogram |
estimatedRowSize |
StreamingHistogram |
estimatedTombstoneDropTime |
boolean |
hasLegacyCounterShards |
java.util.List<java.nio.ByteBuffer> |
maxColumnNames |
int |
maxLocalDeletionTime |
long |
maxTimestamp |
java.util.List<java.nio.ByteBuffer> |
minColumnNames |
long |
minTimestamp |
long |
repairedAt |
static IMetadataComponentSerializer |
serializer |
int |
sstableLevel |
Constructor and Description |
---|
StatsMetadata(EstimatedHistogram estimatedRowSize,
EstimatedHistogram estimatedColumnCount,
ReplayPosition commitLogLowerBound,
ReplayPosition commitLogUpperBound,
long minTimestamp,
long maxTimestamp,
int maxLocalDeletionTime,
double compressionRatio,
StreamingHistogram estimatedTombstoneDropTime,
int sstableLevel,
java.util.List<java.nio.ByteBuffer> minColumnNames,
java.util.List<java.nio.ByteBuffer> maxColumnNames,
boolean hasLegacyCounterShards,
long repairedAt) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
double |
getDroppableTombstonesBefore(int gcBefore) |
double |
getEstimatedDroppableTombstoneRatio(int gcBefore) |
MetadataType |
getType() |
int |
hashCode() |
StatsMetadata |
mutateLevel(int newLevel) |
StatsMetadata |
mutateRepairedAt(long newRepairedAt) |
compareTo
public static final IMetadataComponentSerializer serializer
public final EstimatedHistogram estimatedRowSize
public final EstimatedHistogram estimatedColumnCount
public final ReplayPosition commitLogLowerBound
public final ReplayPosition commitLogUpperBound
public final long minTimestamp
public final long maxTimestamp
public final int maxLocalDeletionTime
public final double compressionRatio
public final StreamingHistogram estimatedTombstoneDropTime
public final int sstableLevel
public final java.util.List<java.nio.ByteBuffer> maxColumnNames
public final java.util.List<java.nio.ByteBuffer> minColumnNames
public final boolean hasLegacyCounterShards
public final long repairedAt
public StatsMetadata(EstimatedHistogram estimatedRowSize, EstimatedHistogram estimatedColumnCount, ReplayPosition commitLogLowerBound, ReplayPosition commitLogUpperBound, long minTimestamp, long maxTimestamp, int maxLocalDeletionTime, double compressionRatio, StreamingHistogram estimatedTombstoneDropTime, int sstableLevel, java.util.List<java.nio.ByteBuffer> minColumnNames, java.util.List<java.nio.ByteBuffer> maxColumnNames, boolean hasLegacyCounterShards, long repairedAt)
public MetadataType getType()
getType
in class MetadataComponent
public double getEstimatedDroppableTombstoneRatio(int gcBefore)
gcBefore
- gc time in secondspublic double getDroppableTombstonesBefore(int gcBefore)
gcBefore
- gc time in secondspublic StatsMetadata mutateLevel(int newLevel)
public StatsMetadata mutateRepairedAt(long newRepairedAt)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2017 The Apache Software Foundation