Package | Description |
---|---|
org.apache.datasketches.cpc |
Compressed Probabilistic Counting sketch family
|
Modifier and Type | Method and Description |
---|---|
CpcSketch |
CpcUnion.getResult()
Returns the result of union operations as a CPC sketch.
|
static CpcSketch |
CpcSketch.heapify(byte[] byteArray)
Return the given byte array as a CpcSketch on the Java heap using the DEFAULT_UPDATE_SEED.
|
static CpcSketch |
CpcSketch.heapify(byte[] byteArray,
long seed)
Return the given byte array as a CpcSketch on the Java heap.
|
static CpcSketch |
CpcSketch.heapify(org.apache.datasketches.memory.Memory mem)
Return the given Memory as a CpcSketch on the Java heap using the DEFAULT_UPDATE_SEED.
|
static CpcSketch |
CpcSketch.heapify(org.apache.datasketches.memory.Memory mem,
long seed)
Return the given Memory as a CpcSketch on the Java heap.
|
Modifier and Type | Method and Description |
---|---|
void |
CpcUnion.update(CpcSketch sketch)
Update this union with a CpcSketch.
|
Copyright © 2015–2024 The Apache Software Foundation. All rights reserved.