Defined in: packages/scalar-sketch/src/count-min-sketch.ts:16
Read-only configuration and live frequency metadata shared by every scalar variant.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”
readonlykind:"count-min-sketch"
Defined in: packages/scalar-sketch/src/count-min-sketch.ts:17
scalarKind
Section titled “scalarKind”
readonlyscalarKind:"string"|"uint32"|"uint64"|"bytes"
Defined in: packages/scalar-sketch/src/count-min-sketch.ts:18
readonlywidth:number
Defined in: packages/scalar-sketch/src/count-min-sketch.ts:20
Effective power-of-two column count.
readonlydepth:number
Defined in: packages/scalar-sketch/src/count-min-sketch.ts:22
Effective prefix-stable row count, from 1 through 32.
epsilon
Section titled “epsilon”
readonlyepsilon:number
Defined in: packages/scalar-sketch/src/count-min-sketch.ts:24
Model-based additive error factor e / width.
confidence
Section titled “confidence”
readonlyconfidence:number
Defined in: packages/scalar-sketch/src/count-min-sketch.ts:26
Model-based per-query confidence lower bound 1 - exp(-depth).
counterBits
Section titled “counterBits”
readonlycounterBits:32
Defined in: packages/scalar-sketch/src/count-min-sketch.ts:28
Counter width, fixed at 32 bits.
totalWeight
Section titled “totalWeight”
readonlytotalWeight:number
Defined in: packages/scalar-sketch/src/count-min-sketch.ts:30
Accepted sum of update weights, capped at 2^32 - 1.
stateByteLength
Section titled “stateByteLength”
readonlystateByteLength:number
Defined in: packages/scalar-sketch/src/count-min-sketch.ts:32
Bytes occupied by row-major counters, excluding object and hash-instance overhead.
readonlyseed:bigint
Defined in: packages/scalar-sketch/src/count-min-sketch.ts:34
XXH64 base seed that participates in merge compatibility.
seedSchedule
Section titled “seedSchedule”
readonlyseedSchedule:SeedScheduleIdentity
Defined in: packages/scalar-sketch/src/count-min-sketch.ts:36
Prefix-stable row-seed schedule that participates in merge compatibility.