Approximation Statistics
Table 6.1. Approximation Statistics
Function | Description | Input | Returns |
---|---|---|---|
HLLP_ADD | Add value to the HyperLogLogPlus estimator set. See HLLP README. |
| The HyperLogLogPlus set with a new value added |
HLLP_CARDINALITY | Returns HyperLogLogPlus-estimated cardinality for this set. See HLLP README. |
| Long value representing the cardinality for this set |
HLLP_INIT | Initializes the HyperLogLogPlus estimator set. p must be a value between 4 and sp and sp must be less than 32 and greater than 4. See HLLP README. |
| A new HyperLogLogPlus set |
HLLP_MERGE | Merge hllp sets together. The resulting estimator is initialized with p and sp precision values from the first provided hllp estimator set. See HLLP README. |
| True if the filter might contain the value and false otherwise |