public StatsMetadata mutateRepairedAt(long newRepairedAt) { return new StatsMetadata(estimatedRowSize, estimatedColumnCount, replayPosition, minTimestamp, maxTimestamp, maxLocalDeletionTime, compressionRatio, estimatedTombstoneDropTime, sstableLevel, minColumnNames, maxColumnNames, hasLegacyCounterShards, newRepairedAt); }
public StatsMetadata mutateLevel(int newLevel) { return new StatsMetadata(estimatedRowSize, estimatedColumnCount, replayPosition, minTimestamp, maxTimestamp, maxLocalDeletionTime, compressionRatio, estimatedTombstoneDropTime, newLevel, minColumnNames, maxColumnNames, hasLegacyCounterShards, repairedAt); }
public StatsMetadata mutateRepairedAt(long newRepairedAt) { return new StatsMetadata(estimatedPartitionSize, estimatedColumnCount, commitLogIntervals, minTimestamp, maxTimestamp, minLocalDeletionTime, maxLocalDeletionTime, minTTL, maxTTL, compressionRatio, estimatedTombstoneDropTime, sstableLevel, minClusteringValues, maxClusteringValues, hasLegacyCounterShards, newRepairedAt, totalColumnsSet, totalRows); }
public StatsMetadata mutateLevel(int newLevel) { return new StatsMetadata(estimatedPartitionSize, estimatedColumnCount, commitLogIntervals, minTimestamp, maxTimestamp, minLocalDeletionTime, maxLocalDeletionTime, minTTL, maxTTL, compressionRatio, estimatedTombstoneDropTime, newLevel, minClusteringValues, maxClusteringValues, hasLegacyCounterShards, repairedAt, totalColumnsSet, totalRows); }
public StatsMetadata mutateRepairedAt(long newRepairedAt) { return new StatsMetadata(estimatedPartitionSize, estimatedColumnCount, commitLogIntervals, minTimestamp, maxTimestamp, minLocalDeletionTime, maxLocalDeletionTime, minTTL, maxTTL, compressionRatio, estimatedTombstoneDropTime, sstableLevel, minClusteringValues, maxClusteringValues, hasLegacyCounterShards, newRepairedAt, totalColumnsSet, totalRows); }
public StatsMetadata mutateLevel(int newLevel) { return new StatsMetadata(estimatedPartitionSize, estimatedColumnCount, commitLogIntervals, minTimestamp, maxTimestamp, minLocalDeletionTime, maxLocalDeletionTime, minTTL, maxTTL, compressionRatio, estimatedTombstoneDropTime, newLevel, minClusteringValues, maxClusteringValues, hasLegacyCounterShards, repairedAt, totalColumnsSet, totalRows); }
public StatsMetadata mutateRepairedAt(long newRepairedAt) { return new StatsMetadata(estimatedPartitionSize, estimatedColumnCount, commitLogIntervals, minTimestamp, maxTimestamp, minLocalDeletionTime, maxLocalDeletionTime, minTTL, maxTTL, compressionRatio, estimatedTombstoneDropTime, sstableLevel, minClusteringValues, maxClusteringValues, hasLegacyCounterShards, newRepairedAt, totalColumnsSet, totalRows); }
public StatsMetadata mutateLevel(int newLevel) { return new StatsMetadata(estimatedPartitionSize, estimatedColumnCount, commitLogIntervals, minTimestamp, maxTimestamp, minLocalDeletionTime, maxLocalDeletionTime, minTTL, maxTTL, compressionRatio, estimatedTombstoneDropTime, newLevel, minClusteringValues, maxClusteringValues, hasLegacyCounterShards, repairedAt, totalColumnsSet, totalRows); }
public StatsMetadata mutateLevel(int newLevel) { return new StatsMetadata(estimatedPartitionSize, estimatedColumnCount, commitLogIntervals, minTimestamp, maxTimestamp, minLocalDeletionTime, maxLocalDeletionTime, minTTL, maxTTL, compressionRatio, estimatedTombstoneDropTime, newLevel, minClusteringValues, maxClusteringValues, hasLegacyCounterShards, repairedAt, totalColumnsSet, totalRows); }
public StatsMetadata mutateRepairedAt(long newRepairedAt) { return new StatsMetadata(estimatedPartitionSize, estimatedColumnCount, commitLogIntervals, minTimestamp, maxTimestamp, minLocalDeletionTime, maxLocalDeletionTime, minTTL, maxTTL, compressionRatio, estimatedTombstoneDropTime, sstableLevel, minClusteringValues, maxClusteringValues, hasLegacyCounterShards, newRepairedAt, totalColumnsSet, totalRows); }
hasLegacyCounterShards = in.readBoolean(); return new StatsMetadata(rowSizes, columnCounts, replayPosition,
public Map<MetadataType, MetadataComponent> finalizeMetadata(String partitioner, double bloomFilterFPChance, long repairedAt) { Map<MetadataType, MetadataComponent> components = Maps.newHashMap(); components.put(MetadataType.VALIDATION, new ValidationMetadata(partitioner, bloomFilterFPChance)); components.put(MetadataType.STATS, new StatsMetadata(estimatedRowSize, estimatedColumnCount, replayPosition, minTimestamp, maxTimestamp, maxLocalDeletionTime, compressionRatio, estimatedTombstoneDropTime, sstableLevel, ImmutableList.copyOf(minColumnNames), ImmutableList.copyOf(maxColumnNames), hasLegacyCounterShards, repairedAt)); components.put(MetadataType.COMPACTION, new CompactionMetadata(ancestors, cardinality)); return components; } }
if (types.contains(MetadataType.STATS)) components.put(MetadataType.STATS, new StatsMetadata(rowSizes, columnCounts, replayPosition,
public static StatsMetadata defaultStatsMetadata() { return new StatsMetadata(defaultRowSizeHistogram(), defaultColumnCountHistogram(), ReplayPosition.NONE, Long.MIN_VALUE, Long.MAX_VALUE, Integer.MAX_VALUE, NO_COMPRESSION_RATIO, defaultTombstoneDropTimeHistogram(), 0, Collections.<ByteBuffer>emptyList(), Collections.<ByteBuffer>emptyList(), true, ActiveRepairService.UNREPAIRED_SSTABLE); }
public Map<MetadataType, MetadataComponent> finalizeMetadata(String partitioner, double bloomFilterFPChance, long repairedAt, SerializationHeader header) { Map<MetadataType, MetadataComponent> components = new EnumMap<>(MetadataType.class); components.put(MetadataType.VALIDATION, new ValidationMetadata(partitioner, bloomFilterFPChance)); components.put(MetadataType.STATS, new StatsMetadata(estimatedPartitionSize, estimatedCellPerPartitionCount, commitLogIntervals, timestampTracker.min(), timestampTracker.max(), localDeletionTimeTracker.min(), localDeletionTimeTracker.max(), ttlTracker.min(), ttlTracker.max(), compressionRatio, estimatedTombstoneDropTime, sstableLevel, makeList(minClusteringValues), makeList(maxClusteringValues), hasLegacyCounterShards, repairedAt, totalColumnsSet, totalRows)); components.put(MetadataType.COMPACTION, new CompactionMetadata(cardinality)); components.put(MetadataType.HEADER, header.toComponent()); return components; }
if (types.contains(MetadataType.STATS)) components.put(MetadataType.STATS, new StatsMetadata(partitionSizes, columnCounts, commitLogIntervals,
commitLogIntervals = new IntervalSet<CommitLogPosition>(commitLogLowerBound, commitLogUpperBound); return new StatsMetadata(partitionSizes, columnCounts, commitLogIntervals,
commitLogIntervals = new IntervalSet<CommitLogPosition>(commitLogLowerBound, commitLogUpperBound); return new StatsMetadata(partitionSizes, columnCounts, commitLogIntervals,
commitLogIntervals = new IntervalSet<CommitLogPosition>(commitLogLowerBound, commitLogUpperBound); return new StatsMetadata(partitionSizes, columnCounts, commitLogIntervals,
commitLogIntervals = new IntervalSet<CommitLogPosition>(commitLogLowerBound, commitLogUpperBound); return new StatsMetadata(partitionSizes, columnCounts, commitLogIntervals,