HLLExpGetUnionCount Method

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

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

C#
public static Exp GetUnionCount(
	Exp list,
	Exp bin
)

Parameters

list
Type: Aerospike.ClientExp
bin
Type: Aerospike.ClientExp

Return Value

Type: Exp
Examples

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

Reference