Class TombstoneHistogram

java.lang.Object
org.apache.cassandra.utils.streamhist.TombstoneHistogram

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

    • createDefault

      public static TombstoneHistogram 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

      public <E extends Exception> void forEach(HistogramDataConsumer<E> histogramDataConsumer) throws E
      Throws:
      E extends Exception
    • getSerializer

      public static TombstoneHistogram.HistogramSerializer getSerializer(Version version)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object