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.
|
Modifier and Type | Class and Description |
---|---|
class |
CompactDoublesSketch |
class |
UpdateDoublesSketch |
Modifier and Type | Method and Description |
---|---|
DoublesSketch |
DoublesSketch.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 DoublesSketch |
DoublesSketch.heapify(org.apache.datasketches.memory.Memory srcMem)
Heapify takes the sketch image in Memory and instantiates an on-heap Sketch.
|
static DoublesSketch |
DoublesSketch.wrap(org.apache.datasketches.memory.Memory srcMem)
Wrap this sketch around the given Memory image of a DoublesSketch, compact or non-compact.
|
Modifier and Type | Method and Description |
---|---|
DoublesSketch |
DoublesSketch.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 DoublesUnion |
DoublesUnionBuilder.heapify(DoublesSketch sketch)
Deprecated.
v2.0.0. Moved to DoublesUnion
|
static DoublesUnion |
DoublesUnion.heapify(DoublesSketch sketch)
Returns a Heap Union object that has been initialized with the data from the given sketch.
|
abstract void |
DoublesUnion.update(DoublesSketch sketchIn)
Iterative union operation, which means this method can be repeatedly called.
|
Copyright © 2015–2021 The Apache Software Foundation. All rights reserved.