aerospike_helpers — Aerospike Helper Package for bin operations (list, map, bit, etc.)

This package contains helpers to be used by the operate and operate_ordered methods for bin operations. (list, map, bitwise, etc.)

class aerospike_helpers.HyperLogLog(o)

Bases: bytes

Represents a HyperLogLog value. This can be returned from the server or created in order to be sent to the server.

The constructor takes in any argument that the bytes constructor takes in.

>>> h = HyperLogLog([1, 2, 3])
>>> client.put(key, {"hyperloglog": h})