All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
as_query_validate.h File Reference
#include <aerospike/as_key.h>
+ Include dependency graph for as_query_validate.h:

Go to the source code of this file.

Functions

as_status as_query_validate (as_error *err, struct as_node_s *node, const char *ns, uint32_t timeout, uint64_t expected_key)
 
as_status as_query_validate_begin (as_error *err, struct as_node_s *node, const char *ns, uint32_t timeout, uint64_t *cluster_key)
 
as_status as_query_validate_begin_async (struct as_event_executor *executor, const char *ns, as_error *err)
 
void as_query_validate_end_async (struct as_event_executor *executor, struct as_node_s *node, struct as_event_loop *event_loop)
 
as_status as_query_validate_next_async (struct as_event_executor *executor, uint32_t index)
 

Function Documentation

as_status as_query_validate ( as_error err,
struct as_node_s *  node,
const char *  ns,
uint32_t  timeout,
uint64_t  expected_key 
)
private

Verify migrations are not occurring and expected cluster key has not changed.

as_status as_query_validate_begin ( as_error err,
struct as_node_s *  node,
const char *  ns,
uint32_t  timeout,
uint64_t *  cluster_key 
)
private

Verify migrations are not occurring and obtain cluster key.

as_status as_query_validate_begin_async ( struct as_event_executor executor,
const char *  ns,
as_error err 
)
private

Verify migrations are not occurring and obtain cluster key in async mode.

void as_query_validate_end_async ( struct as_event_executor executor,
struct as_node_s *  node,
struct as_event_loop event_loop 
)
private

Verify migrations are not occurring and expected cluster key has not changed in async mode. Then complete query.

as_status as_query_validate_next_async ( struct as_event_executor executor,
uint32_t  index 
)
private

Verify migrations are not occurring and expected cluster key has not changed in async mode. Then execute query.