public class StatsMetadata extends MetadataComponent
Modifier and Type | Class and Description |
---|---|
static class |
StatsMetadata.StatsMetadataSerializer |
Modifier and Type | Field and Description |
---|---|
IntervalSet<CommitLogPosition> |
commitLogIntervals |
static ISerializer<IntervalSet<CommitLogPosition>> |
commitLogPositionSetSerializer |
double |
compressionRatio |
EstimatedHistogram |
estimatedColumnCount |
EstimatedHistogram |
estimatedPartitionSize |
StreamingHistogram |
estimatedTombstoneDropTime |
boolean |
hasLegacyCounterShards |
java.util.List<java.nio.ByteBuffer> |
maxClusteringValues |
int |
maxLocalDeletionTime |
long |
maxTimestamp |
int |
maxTTL |
java.util.List<java.nio.ByteBuffer> |
minClusteringValues |
int |
minLocalDeletionTime |
long |
minTimestamp |
int |
minTTL |
java.util.UUID |
originatingHostId |
long |
repairedAt |
static IMetadataComponentSerializer |
serializer |
int |
sstableLevel |
long |
totalColumnsSet |
long |
totalRows |
Constructor and Description |
---|
StatsMetadata(EstimatedHistogram estimatedPartitionSize,
EstimatedHistogram estimatedColumnCount,
IntervalSet<CommitLogPosition> commitLogIntervals,
long minTimestamp,
long maxTimestamp,
int minLocalDeletionTime,
int maxLocalDeletionTime,
int minTTL,
int maxTTL,
double compressionRatio,
StreamingHistogram estimatedTombstoneDropTime,
int sstableLevel,
java.util.List<java.nio.ByteBuffer> minClusteringValues,
java.util.List<java.nio.ByteBuffer> maxClusteringValues,
boolean hasLegacyCounterShards,
long repairedAt,
long totalColumnsSet,
long totalRows,
java.util.UUID originatingHostId) |
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 static final ISerializer<IntervalSet<CommitLogPosition>> commitLogPositionSetSerializer
public final EstimatedHistogram estimatedPartitionSize
public final EstimatedHistogram estimatedColumnCount
public final IntervalSet<CommitLogPosition> commitLogIntervals
public final long minTimestamp
public final long maxTimestamp
public final int minLocalDeletionTime
public final int maxLocalDeletionTime
public final int minTTL
public final int maxTTL
public final double compressionRatio
public final StreamingHistogram estimatedTombstoneDropTime
public final int sstableLevel
public final java.util.List<java.nio.ByteBuffer> minClusteringValues
public final java.util.List<java.nio.ByteBuffer> maxClusteringValues
public final boolean hasLegacyCounterShards
public final long repairedAt
public final long totalColumnsSet
public final long totalRows
public final java.util.UUID originatingHostId
public StatsMetadata(EstimatedHistogram estimatedPartitionSize, EstimatedHistogram estimatedColumnCount, IntervalSet<CommitLogPosition> commitLogIntervals, long minTimestamp, long maxTimestamp, int minLocalDeletionTime, int maxLocalDeletionTime, int minTTL, int maxTTL, double compressionRatio, StreamingHistogram estimatedTombstoneDropTime, int sstableLevel, java.util.List<java.nio.ByteBuffer> minClusteringValues, java.util.List<java.nio.ByteBuffer> maxClusteringValues, boolean hasLegacyCounterShards, long repairedAt, long totalColumnsSet, long totalRows, java.util.UUID originatingHostId)
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 © 2009- The Apache Software Foundation