HyperLogLog (HLL) expression generator. See Exp.
The bin expression argument in these methods can be a reference to a bin or the result of another expression. Expressions that modify bin values are only used for temporary expression evaluation and are not permanently applied to the bin. HLL modify expressions return the HLL bin's value.
Inheritance Hierarchy
Aerospike.ClientHLLExp
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public sealed class HLLExp
The HLLExp type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | HLLExp | Initializes a new instance of the HLLExp class |
Methods
Name | Description | |
---|---|---|
![]() ![]() ![]() | 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