| Package | Description |
|---|---|
| com.yahoo.sketches.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,
Memory dstMem)
From an source sketch, create a new sketch that must have a smaller value of K.
|
abstract DoublesSketch |
DoublesUnion.getResult()
Gets the result of this Union operation as a copy of the internal state.
|
abstract DoublesSketch |
DoublesUnion.getResultAndReset()
Gets the result of this Union operation (without a copy) and resets this Union to the
virgin state.
|
static DoublesSketch |
DoublesSketch.heapify(Memory srcMem)
Heapify takes the sketch image in Memory and instantiates an on-heap Sketch.
|
static DoublesSketch |
DoublesSketch.wrap(Memory srcMem)
Wrap this sketch around the given compact Memory image of a DoublesSketch.
|
| Modifier and Type | Method and Description |
|---|---|
static DoublesUnion |
DoublesUnionBuilder.build(DoublesSketch sketch)
Deprecated.
changed name to
DoublesUnionBuilder.heapify(DoublesSketch) to more accuately reflect
its intent |
static DoublesUnion |
DoublesUnionBuilder.copyBuild(DoublesSketch sketch)
Deprecated.
this is a duplicate of
DoublesUnionBuilder.heapify(DoublesSketch) and no longer needed. |
DoublesSketch |
DoublesSketch.downSample(DoublesSketch srcSketch,
int smallerK,
Memory dstMem)
From an source sketch, create a new sketch that must have a smaller value of K.
|
static DoublesUnion |
DoublesUnionBuilder.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–2017 Yahoo! Inc.. All rights reserved.