public static class HyperLogLogStateFactory.SingleHyperLogLogState extends Object implements HyperLogLogState
NUMBER_OF_BUCKETS| Constructor and Description |
|---|
SingleHyperLogLogState() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMemoryUsage(int value) |
long |
getEstimatedSize() |
io.airlift.stats.cardinality.HyperLogLog |
getHyperLogLog() |
void |
setHyperLogLog(io.airlift.stats.cardinality.HyperLogLog value) |
public io.airlift.stats.cardinality.HyperLogLog getHyperLogLog()
getHyperLogLog in interface HyperLogLogStatepublic void setHyperLogLog(io.airlift.stats.cardinality.HyperLogLog value)
setHyperLogLog in interface HyperLogLogStatepublic void addMemoryUsage(int value)
addMemoryUsage in interface HyperLogLogStatepublic long getEstimatedSize()
getEstimatedSize in interface AccumulatorStateCopyright © 2012–2019. All rights reserved.