HLLExp Methods

Methods

Add(HLLPolicy, Exp, Exp) Create expression that adds list values to a HLL set and returns HLL set. The function assumes HLL bin already exists.
Add(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.
Add(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.
Describe 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.
GetCount Create expression that returns estimated number of elements in the HLL bin.
GetIntersectCount Create expression that returns estimated number of elements that would be contained by the intersection of these HLL objects.
GetSimilarity Create expression that returns estimated similarity of these HLL objects as a 64 bit float.
GetUnion Create expression that returns a HLL object that is the union of all specified HLL objects in the list with the HLL bin.
GetUnionCount Create expression that returns estimated number of elements that would be contained by the union of these HLL objects.
Init(HLLPolicy, Exp, Exp) Create expression that creates a new HLL or resets an existing HLL.
Init(HLLPolicy, Exp, Exp, Exp) Create expression that creates a new HLL or resets an existing HLL with minhash bits.
MayContain Create expression that returns one if HLL bin may contain all items in the list.

See Also