HLLExp Class

Aerospike
HyperLogLog (HLL) expression generator. See Exp.

The bin expression argument in these methods can be a reference to a bin or the result of another expression. Expressions that modify bin values are only used for temporary expression evaluation and are not permanently applied to the bin. HLL modify expressions return the HLL bin's value.

Inheritance Hierarchy

SystemObject
  Aerospike.ClientHLLExp

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

C#
public sealed class HLLExp

The HLLExp type exposes the following members.

Constructors

  NameDescription
Public methodHLLExp
Initializes a new instance of the HLLExp class
Top
Methods

  NameDescription
Public methodStatic memberCode exampleAdd(HLLPolicy, Exp, Exp)
Create expression that adds list values to a HLL set and returns HLL set. The function assumes HLL bin already exists.
Public methodStatic memberCode exampleAdd(HLLPolicy, Exp, Exp, Exp)
Create expression that adds values to a HLL set and returns HLL set. If HLL bin does not exist, use indexBitCount to create HLL bin.
Public methodStatic memberCode exampleAdd(HLLPolicy, Exp, Exp, Exp, Exp)
Create expression that adds values to a HLL set and returns HLL set. If HLL bin does not exist, use indexBitCount and minHashBitCount to create HLL set.
Public methodStatic memberCode exampleDescribe
Create expression that returns indexBitCount and minHashBitCount used to create HLL bin in a list of longs. list[0] is indexBitCount and list[1] is minHashBitCount.
Public methodStatic memberCode exampleGetCount
Create expression that returns estimated number of elements in the HLL bin.
Public methodStatic memberCode exampleGetIntersectCount
Create expression that returns estimated number of elements that would be contained by the intersection of these HLL objects.
Public methodStatic memberCode exampleGetSimilarity
Create expression that returns estimated similarity of these HLL objects as a 64 bit float.
Public methodStatic memberCode exampleGetUnion
Create expression that returns a HLL object that is the union of all specified HLL objects in the list with the HLL bin.
Public methodStatic memberCode exampleGetUnionCount
Create expression that returns estimated number of elements that would be contained by the union of these HLL objects.
Public methodStatic memberInit(HLLPolicy, Exp, Exp)
Create expression that creates a new HLL or resets an existing HLL.
Public methodStatic memberInit(HLLPolicy, Exp, Exp, Exp)
Create expression that creates a new HLL or resets an existing HLL with minhash bits.
Public methodStatic memberCode exampleMayContain
Create expression that returns one if HLL bin may contain all items in the list.
Top
See Also

Reference