HLLExpAdd(HLLPolicy, Exp, Exp) Method

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

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public static Exp Add(
	HLLPolicy policy,
	Exp list,
	Exp bin
)

Parameters

policy  HLLPolicy
write policy, use Default for default
list  Exp
list bin or value expression of values to be added
bin  Exp
HLL bin or value expression

Return Value

Exp

Example

C#
// 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