HLLExpGetUnionCount Method

Create expression that returns estimated number of elements that would be contained by the union of these HLL objects.

Definition

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

Parameters

list  Exp
 
bin  Exp
 

Return Value

Exp

Example

C#
// Union count of HLL bins "a" and "b"
HLLExp.GetUnionCount(Exp.HLLBin("a"), Exp.HLLBin("b"))

// Union count of local HLL list with bin "b"
HLLExp.GetUnionCount(Exp.Val(list), Exp.HLLBin("b"))

See Also