Uses of Class
org.apache.datasketches.quantiles.DoublesSketch
| Package | Description |
|---|---|
| org.apache.datasketches.quantiles |
The quantiles package contains stochastic streaming algorithms that enable single-pass
analysis of the distribution of a stream of real (double) values or generic items.
|
-
Uses of DoublesSketch in org.apache.datasketches.quantiles
Subclasses of DoublesSketch in org.apache.datasketches.quantiles Modifier and Type Class Description classCompactDoublesSketchclassUpdateDoublesSketchMethods in org.apache.datasketches.quantiles that return DoublesSketch Modifier and Type Method Description DoublesSketchDoublesSketch. downSample(DoublesSketch srcSketch, int smallerK, org.apache.datasketches.memory.WritableMemory dstMem)From an source sketch, create a new sketch that must have a smaller value of K.static DoublesSketchDoublesSketch. heapify(org.apache.datasketches.memory.Memory srcMem)Heapify takes the sketch image in Memory and instantiates an on-heap Sketch.static DoublesSketchDoublesSketch. wrap(org.apache.datasketches.memory.Memory srcMem)Wrap this sketch around the given Memory image of a DoublesSketch, compact or non-compact.Methods in org.apache.datasketches.quantiles with parameters of type DoublesSketch Modifier and Type Method Description DoublesSketchDoublesSketch. downSample(DoublesSketch srcSketch, int smallerK, org.apache.datasketches.memory.WritableMemory dstMem)From an source sketch, create a new sketch that must have a smaller value of K.static DoublesUnionDoublesUnion. heapify(DoublesSketch sketch)Returns a Heap Union object that has been initialized with the data from the given sketch.abstract voidDoublesUnion. update(DoublesSketch sketchIn)Iterative union operation, which means this method can be repeatedly called.