HLLOperation Class
HyperLogLog (HLL) operations.
HyperLogLog operations on HLL items nested in lists/maps are not currently
supported by the server.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
public sealed class HLLOperation
- Inheritance
- Object HLLOperation
HLLOperation | Initializes a new instance of the HLLOperation class |
Add(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.
|
Add(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.
|
Add(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.
|
Describe |
Create HLL describe operation.
Server returns indexBitCount and minHashBitCount used to create HLL bin in a list of longs.
The list size is 2.
|
Fold |
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.
|
GetCount |
Create HLL getCount operation.
Server returns estimated number of elements in the HLL bin.
|
GetIntersectCount |
Create HLL getIntersectCount operation.
Server returns estimated number of elements that would be contained by the intersection of
these HLL objects.
|
GetSimilarity |
Create HLL getSimilarity operation.
Server returns estimated similarity of these HLL objects. Return type is a double.
|
GetUnion |
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.
|
GetUnionCount |
Create HLL getUnionCount operation.
Server returns estimated number of elements that would be contained by the union of these
HLL objects.
|
Init(HLLPolicy, String, Int32) |
Create HLL init operation.
Server creates a new HLL or resets an existing HLL.
Server does not return a value.
|
Init(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.
|
PackListInt | |
RefreshCount |
Create HLL refresh operation.
Server updates the cached count (if stale) and returns the count.
|
SetUnion |
Create HLL set union operation.
Server sets union of specified HLL objects with HLL bin.
Server does not return a value.
|