Documentation
¶
Overview ¶
+build cgo
Index ¶
- Constants
- type Hll
- func (hll *Hll) Add(value string)
- func (hll *Hll) Add4Bytes(value []byte) error
- func (hll *Hll) Add8Bytes(value []byte) error
- func (hll *Hll) AddInt32(value int32)
- func (hll *Hll) AddInt64(value int64)
- func (hll *Hll) Delete()
- func (hll *Hll) GetCardinality() float64
- func (hll *Hll) Print() string
- func (hll *Hll) Serialize() []byte
- func (hll *Hll) Union(hllRhs *Hll)
- type HllError
Constants ¶
View Source
const ( DEFAULT_LOG2M = 11 DEFAULT_REGWIDTH = 5 DEFAULT_EXPTHRESH = -1 DEFAULT_SPARSEON = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hll ¶
type Hll struct {
// contains filtered or unexported fields
}
Hll is the basic type for the Hll library. Holds an unexported instance of the database, for interactions.
func NewDefault ¶
func (*Hll) GetCardinality ¶
Click to show internal directories.
Click to hide internal directories.