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.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.3.1.0 (5.3.1)
Syntax
C#
public static Operation Add( HLLPolicy policy, string binName, IList list, int indexBitCount, int minHashBitCount )
Parameters
- policy
- Type: Aerospike.ClientHLLPolicy
write policy, use Default for default - binName
- Type: SystemString
name of bin - list
- Type: System.CollectionsIList
list of values to be added - indexBitCount
- Type: SystemInt32
number of index bits. Must be between 4 and 16 inclusive. - minHashBitCount
- Type: SystemInt32
number of min hash bits. Must be between 4 and 51 inclusive. Also, indexBitCount + minHashBitCount must be <= 64.
Return Value
Type: OperationSee Also