HLLExpAdd Method (HLLPolicy, Exp, Exp)

Aerospike
Create expression that adds list values to a HLL set and returns HLL set. The function assumes HLL bin already exists.

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
public static Exp Add(
	HLLPolicy policy,
	Exp list,
	Exp bin
)

Parameters

policy
Type: Aerospike.ClientHLLPolicy
write policy, use Default for default
list
Type: Aerospike.ClientExp
list bin or value expression of values to be added
bin
Type: Aerospike.ClientExp
HLL bin or value expression

Return Value

Type: Exp
Examples

// Add values to HLL bin "a" and check count > 7
Exp.GT(
  HLLExp.GetCount(
    HLLExp.Add(HLLPolicy.Default, Exp.Val(list), Exp.HLLBin("a"))),
  Exp.Val(7))
See Also

Reference