![]() |
#include <aerospike/as_bin.h>
#include <aerospike/as_key.h>
#include <aerospike/as_list.h>
#include <aerospike/as_udf.h>
#include <stdarg.h>
Go to the source code of this file.
Data Structures | |
struct | as_ordering |
struct | as_predicate |
union | as_predicate_value |
struct | as_query |
struct | as_query_bins |
struct | as_query_ordering |
struct | as_query_predicates |
Macros | |
#define | as_query_orderby_inita(__query, __n) |
#define | as_query_select_inita(__query, __n) |
#define | as_query_where_inita(__query, __n) |
#define | integer_equals(__val) AS_PREDICATE_INTEGER_EQUAL, __val |
#define | integer_range(__min, __max) AS_PREDICATE_INTEGER_RANGE, __min, __max |
#define | string_equals(__val) AS_PREDICATE_STRING_EQUAL, __val |
Enumerations | |
enum | as_order { AS_ORDER_ASCENDING = 0, AS_ORDER_DESCENDING = 1, AS_ORDER_ASCENDING = 0, AS_ORDER_DESCENDING = 1 } |
enum | as_predicate_type { AS_PREDICATE_STRING_EQUAL, AS_PREDICATE_INTEGER_EQUAL, AS_PREDICATE_INTEGER_RANGE, AS_PREDICATE_STRING_EQUAL, AS_PREDICATE_INTEGER_EQUAL, AS_PREDICATE_INTEGER_RANGE } |
|
related |
Initializes as_query.where
with a capacity of n
using alloca()
.
For heap allocation, use as_query_where_init()
.
__query | The query to initialize. |
__n | The number of as_orders to allocate. |
Definition at line 724 of file target/Darwin-i386/include/aerospike/as_query.h.
|
related |
Initializes as_query.select
with a capacity of n
using alloca
For heap allocation, use as_query_select_init()
.
__query | The query to initialize. |
__n | The number of bins to allocate. |
Definition at line 572 of file target/Darwin-i386/include/aerospike/as_query.h.
|
related |
Initializes as_query.where
with a capacity of n
using alloca()
.
For heap allocation, use as_query_where_init()
.
__query | The query to initialize. |
__n | The number of as_predicate to allocate. |
Definition at line 648 of file target/Darwin-i386/include/aerospike/as_query.h.
|
related |
Macro for setting setting the INTEGER_EQUAL predicate.
Definition at line 57 of file target/Darwin-i386/include/aerospike/as_query.h.
|
related |
Macro for setting setting the INTEGER_RANGE predicate.
Definition at line 69 of file target/Darwin-i386/include/aerospike/as_query.h.
|
related |
Macro for setting setting the STRING_EQUAL predicate.
Definition at line 46 of file target/Darwin-i386/include/aerospike/as_query.h.
enum as_order |
Enumerations defining the direction of an ordering.
Enumerator | |
---|---|
AS_ORDER_ASCENDING |
Ascending order |
AS_ORDER_DESCENDING |
bin should be in ascending order |
AS_ORDER_ASCENDING |
Ascending order |
AS_ORDER_DESCENDING |
bin should be in ascending order |
Definition at line 160 of file target/Darwin-i386/include/aerospike/as_query.h.
enum as_predicate_type |
The types of predicates supported.
Enumerator | |
---|---|
AS_PREDICATE_STRING_EQUAL |
String Equality Predicate. Requires as_predicate_value.string to be set. |
AS_PREDICATE_INTEGER_EQUAL |
Integer Equality Predicate. Requires as_predicate_value.integer to be set. |
AS_PREDICATE_INTEGER_RANGE |
Integer Range Predicate. Requires as_predicate_value.integer_range to be set. |
AS_PREDICATE_STRING_EQUAL |
String Equality Predicate. Requires as_predicate_value.string to be set. |
AS_PREDICATE_INTEGER_EQUAL |
Integer Equality Predicate. Requires as_predicate_value.integer to be set. |
AS_PREDICATE_INTEGER_RANGE |
Integer Range Predicate. Requires as_predicate_value.integer_range to be set. |
Definition at line 112 of file target/Darwin-i386/include/aerospike/as_query.h.