27 #include <aerospike/as_rec.h>
28 #include <aerospike/as_map.h>
29 #include <aerospike/as_list.h>
30 #include <aerospike/as_result.h>
31 #include <aerospike/as_stream.h>
42 typedef enum cl_query_udf_type_s {
49 typedef struct cl_query_udf_s {
70 typedef struct cl_query_response_record_t {
89 #define cl_integer_equals(val) CL_EQ, CL_INT, val
90 #define cl_integer_range(start, end) CL_RANGE, CL_INT, start, end
91 #define cl_string_equals(val) CL_EQ, CL_STR, val
void cl_query_destroy(cl_query *query)
cl_rv cl_query_aggregate(cl_query *query, const char *filename, const char *function, as_list *arglist)
cl_query * cl_query_new(const char *ns, const char *setname)
int cl_query_orderby(cl_query *query, const char *binname, cl_query_orderby_op order)
int cl_query_where(cl_query *query, const char *binname, cl_query_op,...)
int cl_cluster_query_init(cl_cluster *asc)
cl_rv citrusleaf_query_foreach(cl_cluster *cluster, const cl_query *query, void *udata, bool(*foreach)(as_val *, void *))
cl_rv cl_query_foreach(cl_query *query, const char *filename, const char *function, as_list *arglist)
int cl_query_limit(cl_query *query, uint64_t limit)
cl_query * cl_query_init(cl_query *query, const char *ns, const char *setname)
void cl_cluster_query_shutdown(cl_cluster *asc)
bool(* cl_query_cb)(as_val *val, void *udata)
int cl_query_select(cl_query *query, const char *binname)
int cl_query_where_function(cl_query *query, const char *finame, cl_query_op,...)
int cl_query_filter(cl_query *query, const char *binname, cl_query_op op,...)