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 |
EncodingStats |
encodingStats |
EstimatedHistogram |
estimatedCellPerPartitionCount |
EstimatedHistogram |
estimatedPartitionSize |
TombstoneHistogram |
estimatedTombstoneDropTime |
boolean |
hasLegacyCounterShards |
boolean |
isTransient |
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 |
pendingRepair |
long |
repairedAt |
static IMetadataComponentSerializer |
serializer |
int |
sstableLevel |
long |
totalColumnsSet |
long |
totalRows |
Constructor and Description |
---|
StatsMetadata(EstimatedHistogram estimatedPartitionSize,
EstimatedHistogram estimatedCellPerPartitionCount,
IntervalSet<CommitLogPosition> commitLogIntervals,
long minTimestamp,
long maxTimestamp,
int minLocalDeletionTime,
int maxLocalDeletionTime,
int minTTL,
int maxTTL,
double compressionRatio,
TombstoneHistogram 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 pendingRepair,
boolean isTransient) |
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 |
mutateRepairedMetadata(long newRepairedAt,
java.util.UUID newPendingRepair,
boolean newIsTransient) |
compareTo
public static final IMetadataComponentSerializer serializer
public static final ISerializer<IntervalSet<CommitLogPosition>> commitLogPositionSetSerializer
public final EstimatedHistogram estimatedPartitionSize
public final EstimatedHistogram estimatedCellPerPartitionCount
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 TombstoneHistogram 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 pendingRepair
public final boolean isTransient
public final EncodingStats encodingStats
public StatsMetadata(EstimatedHistogram estimatedPartitionSize, EstimatedHistogram estimatedCellPerPartitionCount, IntervalSet<CommitLogPosition> commitLogIntervals, long minTimestamp, long maxTimestamp, int minLocalDeletionTime, int maxLocalDeletionTime, int minTTL, int maxTTL, double compressionRatio, TombstoneHistogram 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 pendingRepair, boolean isTransient)
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 mutateRepairedMetadata(long newRepairedAt, java.util.UUID newPendingRepair, boolean newIsTransient)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2009-2019 The Apache Software Foundation