Versions in this module Expand all Collapse all v0 v0.1.0 Sep 17, 2021 Changes in this version + type Aggregator interface + Add func(v Value) + Merge func(other Aggregator) error + NumValues func() int64 + type HLL struct + func NewHLL(cfg *HLLConfig) *HLL + func (h *HLL) Add(v Value) + func (h *HLL) MarshalBinary() ([]byte, error) + func (h *HLL) Merge(other Aggregator) error + func (h *HLL) NumValues() int64 + func (h *HLL) Result() int64 + func (h *HLL) UnmarshalBinary(data []byte) error + type HLLConfig struct + Precision uint8 + SparsePrecision uint8 + type Value interface + Sum64 func() uint64 + func BinaryValue(p []byte) Value + func StringValue(s string) Value + func Uint32Value(v uint32) Value + func Uint64Value(v uint64) Value