HLLOperation Methods

Aerospike

The HLLOperation type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAdd(HLLPolicy, String, IList)
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.
Public methodStatic memberAdd(HLLPolicy, String, IList, Int32)
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.
Public methodStatic memberAdd(HLLPolicy, String, IList, Int32, Int32)
Create HLL add operation with minhash bits. Server adds values to HLL set. If HLL bin does not exist, use indexBitCount and minHashBitCount to create HLL bin. Server returns number of entries that caused HLL to update a register.
Public methodStatic memberDescribe
Create HLL describe operation. Server returns indexBitCount and minHashBitCount used to create HLL bin in a list of longs. The list size is 2.
Public methodStatic memberFold
Create HLL fold operation. Servers folds indexBitCount to the specified value. This can only be applied when minHashBitCount on the HLL bin is 0. Server does not return a value.
Public methodStatic memberGetCount
Create HLL getCount operation. Server returns estimated number of elements in the HLL bin.
Public methodStatic memberGetIntersectCount
Create HLL getIntersectCount operation. Server returns estimated number of elements that would be contained by the intersection of these HLL objects.
Public methodStatic memberGetSimilarity
Create HLL getSimilarity operation. Server returns estimated similarity of these HLL objects. Return type is a double.
Public methodStatic memberGetUnion
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.
Public methodStatic memberGetUnionCount
Create HLL getUnionCount operation. Server returns estimated number of elements that would be contained by the union of these HLL objects.
Public methodStatic memberInit(HLLPolicy, String, Int32)
Create HLL init operation. Server creates a new HLL or resets an existing HLL. Server does not return a value.
Public methodStatic memberInit(HLLPolicy, String, Int32, Int32)
Create HLL init operation with minhash bits. Server creates a new HLL or resets an existing HLL. Server does not return a value.
Public methodStatic memberPackListInt
Public methodStatic memberRefreshCount
Create HLL refresh operation. Server updates the cached count (if stale) and returns the count.
Public methodStatic memberSetUnion
Create HLL set union operation. Server sets union of specified HLL objects with HLL bin. Server does not return a value.
Top
See Also

Reference