Class KllItemsSketchIterator<T>
java.lang.Object
org.apache.datasketches.kll.KllSketchIterator
org.apache.datasketches.kll.KllItemsSketchIterator<T>
- Type Parameters:
T- the item class type
- All Implemented Interfaces:
QuantilesGenericSketchIteratorAPI<T>, QuantilesSketchIteratorAPI
public final class KllItemsSketchIterator<T>
extends KllSketchIterator
implements QuantilesGenericSketchIteratorAPI<T>
Iterator over KllItemsSketch. The order is not defined.
-
Method Summary
Modifier and TypeMethodDescriptionGets the generic 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
Description copied from interface:QuantilesGenericSketchIteratorAPIGets the generic 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 interfaceQuantilesGenericSketchIteratorAPI<T>- Returns:
- the generic quantile at the current index.
-