kumulant

HeavyHittersResult

@Serializable
@SerialName(value = "HeavyHittersResult")
data class HeavyHittersResult(val capacity: Int, val keys: LongArray, val counts: LongArray, val errors: LongArray, val totalSeen: Long) : Result(source)

Space-Saving heavy-hitters snapshot. keys, counts, errors are parallel arrays of length <= capacity; for each tracked key, counts is the (over)estimated weighted count and errors is the Space-Saving overestimate bound (the count is at most this much above the true count). totalSeen is the unweighted update count.

Constructors

Link copied to clipboard
constructor(capacity: Int, keys: LongArray, counts: LongArray, errors: LongArray, totalSeen: Long)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

HeavyHittersResult

constructor(capacity: Int, keys: LongArray, counts: LongArray, errors: LongArray, totalSeen: Long)(source)

capacity

counts

errors

keys

totalSeen