The DataSketches™ HLL sketch family package
-
Return a copy of this sketch onto the Java heap.
Return a deep copy of this sketch onto the Java heap with the specified TgtHllType.
Return the result of this union operator as an HLL_4 sketch.
Return the result of this union operator with the specified
TgtHllType
HllSketch.heapify(byte[] byteArray)
Heapify the given byte array, which must be a valid HllSketch image and may have data.
HllSketch.heapify(org.apache.datasketches.memory.Memory srcMem)
Heapify the given Memory, which must be a valid HllSketch image and may have data.
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.
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.
void
Update this union operator with the given sketch.