Class TombstoneHistogram
java.lang.Object
org.apache.cassandra.utils.streamhist.TombstoneHistogram
A snapshot or finished histrogram of tombstones for a sstable, as generated from
StreamingTombstoneHistogramBuilder.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic TombstoneHistogramboolean<E extends Exception>
voidforEach(HistogramDataConsumer<E> histogramDataConsumer) getSerializer(Version version) inthashCode()intsize()doublesum(double b) Calculates estimated number of points in interval [-inf,b].
-
Method Details
-
createDefault
-
sum
public double sum(double b) Calculates estimated number of points in interval [-inf,b].- Parameters:
b- upper bound of a interval to calculate sum- Returns:
- estimated number of points in a interval [-inf,b].
-
size
public int size() -
forEach
- Throws:
E extends Exception
-
getSerializer
-
equals
-
hashCode
public int hashCode()
-