Class KllDoublesSketchIterator

java.lang.Object
org.apache.datasketches.kll.KllSketchIterator
org.apache.datasketches.kll.KllDoublesSketchIterator
All Implemented Interfaces:
QuantilesDoublesSketchIterator, QuantilesSketchIterator

public final class KllDoublesSketchIterator extends KllSketchIterator implements QuantilesDoublesSketchIterator
Iterator over KllDoublesSketch. The order is not defined.
  • Method Details

    • getQuantile

      public double getQuantile()
      Description copied from interface: QuantilesDoublesSketchIterator
      Gets the double quantile at the current index.

      Don't call this before calling next() for the first time or after getting false from next().

      Specified by:
      getQuantile in interface QuantilesDoublesSketchIterator
      Returns:
      the double quantile at the current index.