public class CpcUnion extends Object
| Constructor and Description |
|---|
CpcUnion()
Construct this unioning object with the default LgK and the default update seed.
|
CpcUnion(int lgK)
Construct this unioning object with LgK and the default update seed.
|
CpcUnion(int lgK,
long seed)
Construct this unioning object with LgK and a given seed.
|
| Modifier and Type | Method and Description |
|---|---|
static Family |
getFamily()
Return the DataSketches identifier for this CPC family of sketches.
|
int |
getLgK()
Returns the current value of Log_base2 of K.
|
CpcSketch |
getResult()
Returns the result of union operations as a CPC sketch.
|
void |
update(CpcSketch sketch)
Update this union with a CpcSketch.
|
public CpcUnion()
public CpcUnion(int lgK)
lgK - The given log2 of K.public CpcUnion(int lgK,
long seed)
lgK - The given log2 of K.seed - The given seed.public void update(CpcSketch sketch)
sketch - the given CpcSketch.public CpcSketch getResult()
public int getLgK()
public static Family getFamily()
Copyright © 2015–2024 The Apache Software Foundation. All rights reserved.