Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sketch ¶
type Sketch interface { // Add adds a single value to the sketch. Add(v []byte) // Count returns a cardinality estimate for the sketch. Count() uint64 // Merge merges another sketch into this one. Merge(s Sketch) error encoding.BinaryMarshaler encoding.BinaryUnmarshaler }
Sketch is the interface representing a sketch for estimating cardinality.
Directories ¶
Path | Synopsis |
---|---|
Package hll contains a HyperLogLog++ with a LogLog-Beta bias correction implementation that is adapted (mostly copied) from an implementation provided by Clark DuVall github.com/clarkduvall/hyperloglog.
|
Package hll contains a HyperLogLog++ with a LogLog-Beta bias correction implementation that is adapted (mostly copied) from an implementation provided by Clark DuVall github.com/clarkduvall/hyperloglog. |
Click to show internal directories.
Click to hide internal directories.