Interface HLLRepresentation
- All Known Implementing Classes:
- CompactSet,- ExplicitSet
public interface HLLRepresentation
The base class for the HyperLogLog representations.
- Since:
- 15.0
- 
Method SummaryModifier and TypeMethodDescriptionlongEstimates the cardinality of the set.booleanset(byte[] data) Add the given to the representation set.
- 
Method Details- 
setboolean set(byte[] data) Add the given to the representation set.- Parameters:
- data- : The data to include.
- Returns:
- true if the data was added, and false otherwise.
 
- 
cardinalitylong cardinality()Estimates the cardinality of the set.- Returns:
- An estimation of the real cardinality.
 
 
-