Class TombstoneHistogram


  • public class TombstoneHistogram
    extends java.lang.Object
    A snapshot or finished histrogram of tombstones for a sstable, as generated from StreamingTombstoneHistogramBuilder.
    • Method Detail

      • 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

        public <E extends java.lang.Exception> void forEach​(HistogramDataConsumer<E> histogramDataConsumer)
                                                     throws E extends java.lang.Exception
        Throws:
        E extends java.lang.Exception
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object