public class HyperLogLog extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
add(long value) |
void |
add(io.airlift.slice.Slice value) |
long |
cardinality() |
int |
estimatedInMemorySize() |
int |
estimatedSerializedSize() |
void |
makeDense() |
void |
mergeWith(HyperLogLog other) |
static HyperLogLog |
newInstance(int numberOfBuckets) |
static HyperLogLog |
newInstance(io.airlift.slice.Slice serialized) |
io.airlift.slice.Slice |
serialize() |
public static HyperLogLog newInstance(int numberOfBuckets)
public static HyperLogLog newInstance(io.airlift.slice.Slice serialized)
public void add(long value)
public void add(io.airlift.slice.Slice value)
public void mergeWith(HyperLogLog other)
public long cardinality()
public int estimatedInMemorySize()
public int estimatedSerializedSize()
public io.airlift.slice.Slice serialize()
public void makeDense()
Copyright © 2010-2014 Airlift. All Rights Reserved.