kumulant

CountMinSketchResult

@Serializable
@SerialName(value = "CountMinSketchResult")
data class CountMinSketchResult(val depth: Int, val width: Int, val seed: Long, val counters: LongArray, val totalSeen: Long, val hasher: HasherRef = HasherRef.SplitMix64) : Result(source)

CountStat-MinStat sketch snapshot. counters is the depth x width matrix of counters in row-major order. seed determines the per-row hash salts; merging two snapshots requires identical depth, width, and seed. totalSeen is the unweighted update count.

Constructors

CountMinSketchResult

constructor(depth: Int, width: Int, seed: Long, counters: LongArray, totalSeen: Long, hasher: HasherRef = HasherRef.SplitMix64)(source)

Properties

counters

depth

hasher

Reference to the LongHasher that produced the counters; resolved by estimate.

seed

totalSeen

width