public interface HyperLogLog extends IdentifiedDataSerializable
Modifier and Type | Method and Description |
---|---|
void |
add(long hash)
Aggregates the hash in the HyperLogLog registers.
|
void |
addAll(long[] hashes)
Batch aggregation of hash values in the HyperLogLog registers.
|
long |
estimate()
Computes a new estimate for the current status of the registers.
|
getFactoryId, getId
readData, writeData
long estimate()
void add(long hash)
hash
- the value to aggregatevoid addAll(long[] hashes)
hashes
- the hash values array to aggregateCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.