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 HyperLogLogState
public void setHyperLogLog(io.airlift.stats.cardinality.HyperLogLog value)
setHyperLogLog
in interface HyperLogLogState
public void addMemoryUsage(int value)
addMemoryUsage
in interface HyperLogLogState
public long getEstimatedSize()
getEstimatedSize
in interface AccumulatorState
Copyright © 2012–2019. All rights reserved.