Module aerospike::operations::hll
source · Expand description
HyperLogLog
operations on HLL items nested in lists/maps are not currently
supported by the server.
Structs
HLLPolicy
operation policy.
Enums
HLLWriteFlags
determines write flags for HLL
Functions
- Create HLL add operation. This operation assumes HLL bin already exists. Server adds values to the HLL set. Server returns number of entries that caused HLL to update a register.
- Create HLL add operation. Server adds values to HLL set. If HLL bin does not exist, use
indexBitCount
to create HLL bin. Server returns number of entries that caused HLL to update a register. - Create HLL add operation with minhash bits. Server adds values to HLL set. If HLL bin does not exist, use
indexBitCount
andminHashBitCount
to create HLL bin. Server returns number of entries that caused HLL to update a register. - Create HLL describe operation. Server returns
indexBitCount
andminHashBitCount
used to create HLL bin in a list of longs. The list size is 2. - Create HLL fold operation. Servers folds
indexBitCount
to the specified value. This can only be applied whenminHashBitCount
on the HLL bin is 0. Server does not return a value. - Create HLL getCount operation. Server returns estimated number of elements in the HLL bin.
- Create HLL
get_intersect_count
operation. Server returns estimated number of elements that would be contained by the intersection of these HLL objects. - Create HLL getSimilarity operation. Server returns estimated similarity of these HLL objects. Return type is a double.
- Create HLL getUnion operation. Server returns an HLL object that is the union of all specified HLL objects in the list with the HLL bin.
- Create HLL
get_union_count
operation. Server returns estimated number of elements that would be contained by the union of these HLL objects. - Create HLL init operation. Server creates a new HLL or resets an existing HLL. Server does not return a value.
- Create HLL init operation with minhash bits. Server creates a new HLL or resets an existing HLL. Server does not return a value.
- Create HLL refresh operation. Server updates the cached count (if stale) and returns the count.
- Create HLL set union operation. Server sets union of specified HLL objects with HLL bin. Server does not return a value.