HLLExp.GetSimilarity Method

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

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
C#
public static Exp GetSimilarity(
	Exp list,
	Exp bin
)

Parameters

list  Exp
 
bin  Exp
 

Return Value

Exp

Example

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