kumulant

HyperLogLog

@Serializable
@SerialName(value = "HyperLogLog")
data class HyperLogLog(val precision: Int = 14, val hasher: HasherRef = HasherRef.SplitMix64) : DiscreteStatSpec<HyperLogLogResult> (source)

Spec for HyperLogLogStat: cardinality sketch with controllable precision.

Constructors

HyperLogLog

constructor(precision: Int = 14, hasher: HasherRef = HasherRef.SplitMix64)(source)

Properties

hasher

HasherRef for the mixer applied before bucketing; resolved via the Hashers registry.

precision

Number of register-index bits; memory is 2^precision bytes.