Class KllFloatsSketchIterator
java.lang.Object
org.apache.datasketches.kll.KllSketchIterator
org.apache.datasketches.kll.KllFloatsSketchIterator
- All Implemented Interfaces:
QuantilesFloatsSketchIterator, QuantilesSketchIteratorAPI
public final class KllFloatsSketchIterator
extends KllSketchIterator
implements QuantilesFloatsSketchIterator
Iterator over KllFloatsSketch. The order is not defined.
-
Method Summary
Modifier and TypeMethodDescriptionfloatGets the float quantile at the current index.Methods inherited from class KllSketchIterator
getWeight, nextMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface QuantilesSketchIteratorAPI
getWeight, next
-
Method Details
-
getQuantile
public float getQuantile()Description copied from interface:QuantilesFloatsSketchIteratorGets the float quantile at the current index.Don't call this before calling next() for the first time or after getting false from next().
- Specified by:
getQuantilein interfaceQuantilesFloatsSketchIterator- Returns:
- the float quantile at the current index.
-