HLLOperationAdd(HLLPolicy, String, IList, Int32, Int32) Method

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.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public static Operation Add(
	HLLPolicy policy,
	string binName,
	IList list,
	int indexBitCount,
	int minHashBitCount
)

Parameters

policy  HLLPolicy
write policy, use Default for default
binName  String
name of bin
list  IList
list of values to be added
indexBitCount  Int32
number of index bits. Must be between 4 and 16 inclusive.
minHashBitCount  Int32
number of min hash bits. Must be between 4 and 51 inclusive. Also, indexBitCount + minHashBitCount must be <= 64.

Return Value

Operation

See Also