HLLExp Methods

Aerospike

The HLLExp type exposes the following members.

Methods

  NameDescription
Public methodStatic memberCode exampleAdd(HLLPolicy, Exp, Exp)
Create expression that adds list values to a HLL set and returns HLL set. The function assumes HLL bin already exists.
Public methodStatic memberCode exampleAdd(HLLPolicy, Exp, Exp, Exp)
Create expression that adds values to a HLL set and returns HLL set. If HLL bin does not exist, use indexBitCount to create HLL bin.
Public methodStatic memberCode exampleAdd(HLLPolicy, Exp, Exp, Exp, Exp)
Create expression that adds values to a HLL set and returns HLL set. If HLL bin does not exist, use indexBitCount and minHashBitCount to create HLL set.
Public methodStatic memberCode exampleDescribe
Create expression that returns indexBitCount and minHashBitCount used to create HLL bin in a list of longs. list[0] is indexBitCount and list[1] is minHashBitCount.
Public methodStatic memberCode exampleGetCount
Create expression that returns estimated number of elements in the HLL bin.
Public methodStatic memberCode exampleGetIntersectCount
Create expression that returns estimated number of elements that would be contained by the intersection of these HLL objects.
Public methodStatic memberCode exampleGetSimilarity
Create expression that returns estimated similarity of these HLL objects as a 64 bit float.
Public methodStatic memberCode exampleGetUnion
Create expression that returns a HLL object that is the union of all specified HLL objects in the list with the HLL bin.
Public methodStatic memberCode exampleGetUnionCount
Create expression that returns estimated number of elements that would be contained by the union of these HLL objects.
Public methodStatic memberInit(HLLPolicy, Exp, Exp)
Create expression that creates a new HLL or resets an existing HLL.
Public methodStatic memberInit(HLLPolicy, Exp, Exp, Exp)
Create expression that creates a new HLL or resets an existing HLL with minhash bits.
Public methodStatic memberCode exampleMayContain
Create expression that returns one if HLL bin may contain all items in the list.
Top
See Also

Reference