#include <citrusleaf/cl_types.h>
#include <citrusleaf/cl_sindex.h>
#include <aerospike/as_rec.h>
#include <aerospike/as_map.h>
#include <aerospike/as_list.h>
#include <aerospike/as_result.h>
#include <aerospike/as_stream.h>
Go to the source code of this file.
|
cl_rv | citrusleaf_query_foreach (cl_cluster *cluster, const cl_query *query, void *udata, bool(*foreach)(as_val *, void *)) |
|
int | cl_cluster_query_init (cl_cluster *asc) |
|
void | cl_cluster_query_shutdown (cl_cluster *asc) |
|
cl_rv | cl_query_aggregate (cl_query *query, const char *filename, const char *function, as_list *arglist) |
|
void | cl_query_destroy (cl_query *query) |
|
int | cl_query_filter (cl_query *query, const char *binname, cl_query_op op,...) |
|
cl_rv | cl_query_foreach (cl_query *query, const char *filename, const char *function, as_list *arglist) |
|
cl_query * | cl_query_init (cl_query *query, const char *ns, const char *setname) |
|
int | cl_query_limit (cl_query *query, uint64_t limit) |
|
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_select (cl_query *query, const char *binname) |
|
int | cl_query_where (cl_query *query, const char *binname, cl_query_op,...) |
|
int | cl_query_where_function (cl_query *query, const char *finame, cl_query_op,...) |
|
typedef bool(* cl_query_cb)(as_val *val, void *udata) |
Enumerator |
---|
CL_EQ |
|
CL_LT |
|
CL_GT |
|
CL_LE |
|
CL_GE |
|
CL_RANGE |
|
Definition at line 37 of file cl_query.h.
Enumerator |
---|
CL_ORDERBY_ASC |
|
CL_ORDERBY_DESC |
|
Definition at line 38 of file cl_query.h.
Enumerator |
---|
AS_UDF_CALLTYPE_NONE |
|
AS_UDF_CALLTYPE_RECORD |
|
AS_UDF_CALLTYPE_STREAM |
|
Definition at line 42 of file cl_query.h.
cl_rv citrusleaf_query_foreach |
( |
cl_cluster * |
cluster, |
|
|
const cl_query * |
query, |
|
|
void * |
udata, |
|
|
bool(*)(as_val *, void *) |
foreach |
|
) |
| |
int cl_cluster_query_init |
( |
cl_cluster * |
asc) | |
|
void cl_cluster_query_shutdown |
( |
cl_cluster * |
asc) | |
|
cl_rv cl_query_aggregate |
( |
cl_query * |
query, |
|
|
const char * |
filename, |
|
|
const char * |
function, |
|
|
as_list * |
arglist |
|
) |
| |
void cl_query_destroy |
( |
cl_query * |
query) | |
|
cl_rv cl_query_foreach |
( |
cl_query * |
query, |
|
|
const char * |
filename, |
|
|
const char * |
function, |
|
|
as_list * |
arglist |
|
) |
| |
cl_query* cl_query_init |
( |
cl_query * |
query, |
|
|
const char * |
ns, |
|
|
const char * |
setname |
|
) |
| |
int cl_query_limit |
( |
cl_query * |
query, |
|
|
uint64_t |
limit |
|
) |
| |
cl_query* cl_query_new |
( |
const char * |
ns, |
|
|
const char * |
setname |
|
) |
| |
Allocates and initializes a new cl_query
int cl_query_select |
( |
cl_query * |
query, |
|
|
const char * |
binname |
|
) |
| |