HLLExpGetSimilarity Method

Aerospike
Create expression that returns estimated similarity of these HLL objects as a 64 bit float.

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

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

Parameters

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

Return Value

Type: Exp
Examples

// Similarity of HLL bins "a" and "b" >= 0.75
Exp.GE(HLLExp.GetSimilarity(Exp.HLLBin("a"), Exp.HLLBin("b")), Exp.Val(0.75))
See Also

Reference