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.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 4.2.0.0 (4.2.0)
Syntax
Parameters
- policy
- Type: Aerospike.Client HLLPolicy
write policy, use Default for default
- list
- Type: Aerospike.Client Exp
list bin or value expression of values to be added
- indexBitCount
- Type: Aerospike.Client Exp
number of index bits expression. Must be between 4 and 16 inclusive.
- bin
- Type: Aerospike.Client Exp
HLL bin or value expression
Examples
// Add values to HLL bin "a" and check count > 7 Exp.GT( HLLExp.GetCount( HLLExp.Add(HLLPolicy.Default, Exp.Val(list), Exp.Val(10), Exp.HLLBin("a"))), Exp.Val(7))
See Also