HLLExpMayContain Method

Create expression that returns one if HLL bin may contain all items in the list.

Definition

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

Parameters

list  Exp
 
bin  Exp
 

Return Value

Exp

Example

C#
// Bin "a" may contain value "x"
List list = new List();
list.Add(Value.Get("x"));
Exp.EQ(HLLExp.MayContain(Exp.Val(list), Exp.HLLBin("a")), Exp.Val(1));

See Also