HyperLogLogResult
HyperLogLog snapshot. estimate is the corrected cardinality (linear counting at the small-range, raw HLL elsewhere). registers are the dense rho values per bucket and are required to merge two snapshots without loss; precision selects bucket count m = 2^precision. totalSeen is the unweighted update count.
Constructors
HyperLogLogResult
Properties
estimate
hasher
Reference to the com.eignex.kumulant.math.LongHasher that produced this sketch.
The mixer decides which register a key touches, so combining sketches built with different mixers is meaningless - it double-counts the same key. Carried on the wire so HyperLogLogStat.merge can refuse it, matching com.eignex.kumulant.stat.sketch.BloomFilterResult and com.eignex.kumulant.stat.sketch.CountMinSketchResult. Defaults to the library default so a payload encoded before the field existed still decodes.
precision
registers
totalSeen
totalWeights
Cumulative weight of observations folded into this result.
True when totalWeights is not positive, including zero, negative values, and NaN.