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

This package contains: * Helpers to be used by the operate and operate_ordered methods for bin operations. (list, map, bitwise, etc.) * Classes for metrics callbacks. * The HyperLogLog data type

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})

Subpackages