Package | Description |
---|---|
org.apache.datasketches.hll |
The hll package contains a high performance implementation of Phillipe
Flajolet's HLL sketch with significantly improved error behavior.
|
Modifier and Type | Method and Description |
---|---|
HllSketch |
HllSketch.copy()
Return a copy of this sketch onto the Java heap.
|
HllSketch |
HllSketch.copyAs(TgtHllType tgtHllType)
Return a deep copy of this sketch onto the Java heap with the specified TgtHllType.
|
HllSketch |
Union.getResult()
Return the result of this union operator as an HLL_4 sketch.
|
HllSketch |
Union.getResult(TgtHllType tgtHllType)
Return the result of this union operator with the specified
TgtHllType |
static HllSketch |
HllSketch.heapify(byte[] byteArray)
Heapify the given byte array, which must be a valid HllSketch image and may have data.
|
static HllSketch |
HllSketch.heapify(org.apache.datasketches.memory.Memory srcMem)
Heapify the given Memory, which must be a valid HllSketch image and may have data.
|
static HllSketch |
HllSketch.wrap(org.apache.datasketches.memory.Memory srcMem)
Wraps the given read-only Memory that must be a image of a valid sketch,
which may be in compact or updatable form, and should have data.
|
static HllSketch |
HllSketch.writableWrap(org.apache.datasketches.memory.WritableMemory srcWmem)
Wraps the given WritableMemory, which must be a image of a valid updatable sketch,
and may have data.
|
Modifier and Type | Method and Description |
---|---|
void |
Union.update(HllSketch sketch)
Update this union operator with the given sketch.
|
Copyright © 2015–2021 The Apache Software Foundation. All rights reserved.