Couchbase C Client
3.0.6
Asynchronous C Client for Couchbase
|
106 #define LCB_N1XSPEC_F_PRIMARY (1 << 16)
113 #define LCB_N1XSPEC_F_DEFER (1 << 17)
119 #define LCB_N1XSPEC_T_DEFAULT 0
120 #define LCB_N1XSPEC_T_GSI 1
121 #define LCB_N1XSPEC_T_VIEW 2
123 struct lcb_RESPN1XMGMT_st;
131 typedef void (*lcb_N1XMGMTCALLBACK)(
lcb_INSTANCE *instance,
int cbtype,
const struct lcb_RESPN1XMGMT_st *resp);
157 typedef struct lcb_RESPN1XMGMT_st {
struct lcb_RESPQUERY_ lcb_RESPQUERY
Opaque query response structure.
Definition: couchbase.h:2712
const lcb_N1XSPEC *const * specs
Input specs.
Definition: ixmgmt.h:222
const char * cond
Indexing condition.
Definition: ixmgmt.h:84
const char * name
Name of the index.
Definition: ixmgmt.h:53
const lcb_RESPQUERY * inner
Inner N1QL response.
Definition: ixmgmt.h:171
const char * fields
Actual index text.
Definition: ixmgmt.h:79
Various utility functions.
const char * state
Output parameter only.
Definition: ixmgmt.h:68
lcb_STATUS
Error codes returned by the library.
Definition: error.h:202
struct lcb_st lcb_INSTANCE
Library handle representing a connection to a cluster and its data buckets.
Definition: couchbase.h:35
size_t nspecs
Number of specs.
Definition: ixmgmt.h:168
size_t nspec
Number of specs.
Definition: ixmgmt.h:224
const char * rawjson
Raw JSON returned from server.
Definition: ixmgmt.h:49
const char * keyspace
Keyspace or "bucket" of the index.
Definition: ixmgmt.h:60
const lcb_N1XSPEC *const * specs
A list of pointers to specs.
Definition: ixmgmt.h:166
lcb_N1XSPEC spec
The index to operate on.
Definition: ixmgmt.h:144
lcb_U32 timeout
Maximum amount of time to wait (microseconds).
Definition: ixmgmt.h:230
unsigned flags
Modifiers for the index itself.
Definition: ixmgmt.h:95
Main header file for Couchbase.
unsigned ixtype
Type of this index, Can be LCB_N1XSPEC_T_DEFAULT for the default server type, or an explicit LCB_N1XS...
Definition: ixmgmt.h:102
lcb_N1XMGMTCALLBACK callback
Callback to invoke once the indexes have been built or the timeout has been reached.
Definition: ixmgmt.h:244
const char * nspace
'namespace'.
Definition: ixmgmt.h:64
lcb_U32 interval
How often to check status (microseconds).
Definition: ixmgmt.h:236
lcb_N1XMGMTCALLBACK callback
Callback to be invoked when operation is complete.
Definition: ixmgmt.h:149