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:
bytesRepresents 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
bytesconstructor takes in.from aerospike_helpers import HyperLogLog import aerospike h = HyperLogLog([1, 2, 3]) client = aerospike.client({'hosts': [('localhost', 3000)]}) key = ("test", "demo", 1) client.put(key, {"hyperloglog": h}) _, _, bins = client.get(key) print(bins["hyperloglog"])
HyperLogLog(...)
Subpackages
- aerospike_helpers.operations package
- aerospike_helpers.operations.operations module
- aerospike_helpers.operations.list_operations module
list_append()list_append_items()list_clear()list_create()list_get()list_get_by_index()list_get_by_index_range()list_get_by_rank()list_get_by_rank_range()list_get_by_value()list_get_by_value_list()list_get_by_value_range()list_get_by_value_rank_range_relative()list_get_range()list_increment()list_insert()list_insert_items()list_pop()list_pop_range()list_remove()list_remove_by_index()list_remove_by_index_range()list_remove_by_rank()list_remove_by_rank_range()list_remove_by_value()list_remove_by_value_list()list_remove_by_value_range()list_remove_by_value_rank_range_relative()list_remove_range()list_set()list_set_order()list_size()list_sort()list_trim()
- aerospike_helpers.operations.map_operations module
map_clear()map_create()map_decrement()map_get_by_index()map_get_by_index_range()map_get_by_key()map_get_by_key_index_range_relative()map_get_by_key_list()map_get_by_key_range()map_get_by_rank()map_get_by_rank_range()map_get_by_value()map_get_by_value_list()map_get_by_value_range()map_get_by_value_rank_range_relative()map_increment()map_put()map_put_items()map_remove_by_index()map_remove_by_index_range()map_remove_by_key()map_remove_by_key_index_range_relative()map_remove_by_key_list()map_remove_by_key_range()map_remove_by_rank()map_remove_by_rank_range()map_remove_by_value()map_remove_by_value_list()map_remove_by_value_range()map_remove_by_value_rank_range_relative()map_set_policy()map_size()
- aerospike_helpers.operations.bit_operations module
- aerospike_helpers.operations.hll_operations module
- aerospike_helpers.operations.expression_operations module
- aerospike_helpers.expressions package
- Overview
- Filter Behavior
- Terminology
- Expression Type Aliases
- aerospike_helpers.expressions.base module
AndBinExistsBinTypeBlobBinBoolBinCmpGeoCmpRegexCondDefDeviceSizeDigestModEqExclusiveFloatBinGEGTGeoBinHLLBinIntBinIsTombstoneKeyBlobKeyExistsKeyIntKeyStrLELTLastUpdateTimeLetListBinLoopVarLoopVarBlobLoopVarBoolLoopVarFloatLoopVarGeoJsonLoopVarHLLLoopVarIntLoopVarListLoopVarMapLoopVarNilLoopVarStrMapBinMemorySizeModifyByPathNENotOrRecordSizeResultRemoveSelectByPathSetNameSinceUpdateTimeStrBinTTLUnknownValVarVoidTime_Key
- aerospike_helpers.expressions.list module
InListListAppendListAppendItemsListClearListGetByIndexListGetByIndexRangeListGetByIndexRangeToEndListGetByRankListGetByRankRangeListGetByRankRangeToEndListGetByValueListGetByValueListListGetByValueRangeListGetByValueRelRankRangeListGetByValueRelRankRangeToEndListIncrementListInsertListInsertItemsListRemoveByIndexListRemoveByIndexRangeListRemoveByIndexRangeToEndListRemoveByRankListRemoveByRankRangeListRemoveByRankRangeToEndListRemoveByValueListRemoveByValueListListRemoveByValueRangeListRemoveByValueRelRankRangeListRemoveByValueRelRankToEndListSetListSizeListSort
- aerospike_helpers.expressions.map module
MapClearMapGetByIndexMapGetByIndexRangeMapGetByIndexRangeToEndMapGetByKeyMapGetByKeyListMapGetByKeyRangeMapGetByKeyRelIndexRangeMapGetByKeyRelIndexRangeToEndMapGetByRankMapGetByRankRangeMapGetByRankRangeToEndMapGetByValueMapGetByValueListMapGetByValueRangeMapGetByValueRelRankRangeMapGetByValueRelRankRangeToEndMapGetKeysMapGetValuesMapIncrementMapPutMapPutItemsMapRemoveByIndexMapRemoveByIndexRangeMapRemoveByIndexRangeToEndMapRemoveByKeyMapRemoveByKeyListMapRemoveByKeyRangeMapRemoveByKeyRelIndexRangeMapRemoveByKeyRelIndexRangeToEndMapRemoveByRankMapRemoveByRankRangeMapRemoveByRankRangeToEndMapRemoveByValueMapRemoveByValueListMapRemoveByValueRangeMapRemoveByValueRelRankRangeMapRemoveByValueRelRankRangeToEndMapSize
- aerospike_helpers.expressions.bit module
- aerospike_helpers.expressions.hll module
- aerospike_helpers.expressions.arithmetic module
- aerospike_helpers.expressions.bitwise_operators module
- aerospike_helpers.expressions.resources module
- aerospike_helpers.cdt_ctx module
- Path Expressions Contexts
_cdt_ctxcdt_ctx_all_children()cdt_ctx_all_children_with_filter()cdt_ctx_and_filter()cdt_ctx_list_index()cdt_ctx_list_index_create()cdt_ctx_list_rank()cdt_ctx_list_value()cdt_ctx_map_index()cdt_ctx_map_key()cdt_ctx_map_key_create()cdt_ctx_map_keys_in()cdt_ctx_map_rank()cdt_ctx_map_value()index_datatype_string()index_type_string()
- aerospike_helpers.batch package
- aerospike_helpers.metrics package
ClusterClusterStatsConnectionStatsMetricsListenersMetricsPolicyNamespaceMetricsNamespaceMetrics.nsNamespaceMetrics.bytes_inNamespaceMetrics.bytes_outNamespaceMetrics.error_countNamespaceMetrics.timeout_countNamespaceMetrics.key_busy_countNamespaceMetrics.conn_latencyNamespaceMetrics.write_latencyNamespaceMetrics.read_latencyNamespaceMetrics.batch_latencyNamespaceMetrics.query_latencyNamespaceMetrics.__weakref__
NodeNodeStats