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.build(), sstableLevel, makeList(minClusteringValues), makeList(maxClusteringValues), hasLegacyCounterShards, repairedAt, totalColumnsSet, totalRows)); components.put(MetadataType.COMPACTION, new CompactionMetadata(cardinality)); components.put(MetadataType.HEADER, header.toComponent()); return components; }
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.build(), sstableLevel, makeList(minClusteringValues), makeList(maxClusteringValues), hasLegacyCounterShards, repairedAt, totalColumnsSet, totalRows)); components.put(MetadataType.COMPACTION, new CompactionMetadata(cardinality)); components.put(MetadataType.HEADER, header.toComponent()); return components; }
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.build(), sstableLevel, makeList(minClusteringValues), makeList(maxClusteringValues), hasLegacyCounterShards, repairedAt, totalColumnsSet, totalRows)); components.put(MetadataType.COMPACTION, new CompactionMetadata(cardinality)); components.put(MetadataType.HEADER, header.toComponent()); return components; }
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; }