Loading...
Searching...
No Matches
Data Structures | Enumerations | Functions
as_hll_operations.h File Reference
#include <aerospike/as_operations.h>
+ Include dependency graph for as_hll_operations.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  as_hll_policy
 

Enumerations

enum  as_hll_op {
  AS_HLL_OP_INIT = 0 , AS_HLL_OP_ADD = 1 , AS_HLL_OP_UNION = 2 , AS_HLL_OP_REFRESH_COUNT = 3 ,
  AS_HLL_OP_FOLD = 4 , AS_HLL_OP_COUNT = 50 , AS_HLL_OP_GET_UNION = 51 , AS_HLL_OP_UNION_COUNT = 52 ,
  AS_HLL_OP_INTERSECT_COUNT = 53 , AS_HLL_OP_SIMILARITY = 54 , AS_HLL_OP_DESCRIBE = 55 , AS_HLL_OP_MAY_CONTAIN = 56
}
 
enum  as_hll_write_flags {
  AS_HLL_WRITE_DEFAULT = 0 , AS_HLL_WRITE_CREATE_ONLY = 1 , AS_HLL_WRITE_UPDATE_ONLY = 2 , AS_HLL_WRITE_NO_FAIL = 4 ,
  AS_HLL_WRITE_ALLOW_FOLD = 8
}
 

Functions

static void as_hll_policy_init (as_hll_policy *policy)
 
static void as_hll_policy_set_write_flags (as_hll_policy *policy, as_hll_write_flags flags)
 
static bool as_operations_hll_add (as_operations *ops, const char *name, as_cdt_ctx *ctx, as_hll_policy *policy, as_list *list, int index_bit_count)
 
AS_EXTERN bool as_operations_hll_add_mh (as_operations *ops, const char *name, as_cdt_ctx *ctx, as_hll_policy *policy, as_list *list, int index_bit_count, int mh_bit_count)
 
static bool as_operations_hll_describe (as_operations *ops, const char *name, as_cdt_ctx *ctx)
 
AS_EXTERN bool as_operations_hll_fold (as_operations *ops, const char *name, as_cdt_ctx *ctx, int index_bit_count)
 
static bool as_operations_hll_get_count (as_operations *ops, const char *name, as_cdt_ctx *ctx)
 
static bool as_operations_hll_get_intersect_count (as_operations *ops, const char *name, as_cdt_ctx *ctx, as_list *list)
 
static bool as_operations_hll_get_similarity (as_operations *ops, const char *name, as_cdt_ctx *ctx, as_list *list)
 
static bool as_operations_hll_get_union (as_operations *ops, const char *name, as_cdt_ctx *ctx, as_list *list)
 
static bool as_operations_hll_get_union_count (as_operations *ops, const char *name, as_cdt_ctx *ctx, as_list *list)
 
static bool as_operations_hll_init (as_operations *ops, const char *name, as_cdt_ctx *ctx, as_hll_policy *policy, int index_bit_count)
 
AS_EXTERN bool as_operations_hll_init_mh (as_operations *ops, const char *name, as_cdt_ctx *ctx, as_hll_policy *policy, int index_bit_count, int mh_bit_count)
 
AS_EXTERN bool as_operations_hll_read (as_operations *ops, const char *name, as_cdt_ctx *ctx, uint16_t command)
 
AS_EXTERN bool as_operations_hll_read_list (as_operations *ops, const char *name, as_cdt_ctx *ctx, uint16_t command, as_list *list)
 
AS_EXTERN bool as_operations_hll_refresh_count (as_operations *ops, const char *name, as_cdt_ctx *ctx)
 
AS_EXTERN bool as_operations_hll_set_union (as_operations *ops, const char *name, as_cdt_ctx *ctx, as_hll_policy *policy, as_list *list)
 
static bool as_operations_hll_update (as_operations *ops, const char *name, as_cdt_ctx *ctx, as_hll_policy *policy, as_list *list)
 

Enumeration Type Documentation

◆ as_hll_op

enum as_hll_op
private

HLL operation codes.

Enumerator
AS_HLL_OP_INIT 
AS_HLL_OP_ADD 
AS_HLL_OP_UNION 
AS_HLL_OP_REFRESH_COUNT 
AS_HLL_OP_FOLD 
AS_HLL_OP_COUNT 
AS_HLL_OP_GET_UNION 
AS_HLL_OP_UNION_COUNT 
AS_HLL_OP_INTERSECT_COUNT 
AS_HLL_OP_SIMILARITY 
AS_HLL_OP_DESCRIBE 
AS_HLL_OP_MAY_CONTAIN 

Definition at line 89 of file as_hll_operations.h.

Function Documentation

◆ as_operations_hll_read()

AS_EXTERN bool as_operations_hll_read ( as_operations * ops,
const char * name,
as_cdt_ctx * ctx,
uint16_t command )

◆ as_operations_hll_read_list()

AS_EXTERN bool as_operations_hll_read_list ( as_operations * ops,
const char * name,
as_cdt_ctx * ctx,
uint16_t command,
as_list * list )