|
QDB_API_LINKAGE const char * | qdb_version (void) |
| Returns a null-terminated string describing the API version. More...
|
|
QDB_API_LINKAGE const char * | qdb_build (void) |
| Returns a null-terminated string describing the exact API build. More...
|
|
QDB_API_LINKAGE qdb_error_t | qdb_open (qdb_handle_t *handle, qdb_protocol_t proto) |
| Creates a qdb_handle_t. No connection will be established. More...
|
|
QDB_API_LINKAGE qdb_handle_t | qdb_open_tcp (void) |
| Creates a TCP/IP qdb_handle_t. No connection will be established. More...
|
|
QDB_API_LINKAGE qdb_error_t | qdb_get_last_error (qdb_handle_t handle, qdb_error_t *error, qdb_string_t *message) |
| Describes the last error code returned from the given handle. More...
|
|
QDB_API_LINKAGE qdb_error_t | qdb_connect (qdb_handle_t handle, const char *uri) |
| Binds the client instance to a quasardb cluster and connect to at least one node within. More...
|
|
QDB_API_LINKAGE qdb_error_t | qdb_close (qdb_handle_t handle) |
| Closes the handle previously opened with qdb_open or qdb_open_tcp. More...
|
|
QDB_API_LINKAGE qdb_error_t | qdb_copy_alloc_buffer (qdb_handle_t handle, const void *source_buffer, qdb_size_t source_buffer_size, const void **dest_buffer) |
| Creates a clone of a buffer using API's high-performance memory allocator. More...
|
|
QDB_API_LINKAGE void | qdb_release (qdb_handle_t handle, const void *buffer) |
| Releases an API-allocated buffer. More...
|
|
QDB_API_LINKAGE qdb_error_t | qdb_remove (qdb_handle_t handle, const char *alias) |
| Removes an entry from the cluster, regardless of its type. More...
|
|
QDB_API_LINKAGE qdb_error_t | qdb_expires_at (qdb_handle_t handle, const char *alias, qdb_time_t expiry_time) |
| Sets the absolute expiration time of an entry, if the type supports expiration. More...
|
|
QDB_API_LINKAGE qdb_error_t | qdb_expires_from_now (qdb_handle_t handle, const char *alias, qdb_time_t expiry_delta) |
| Sets the expiration time of an entry, relative to the current time of the client, if the type supports expiration. More...
|
|
QDB_API_LINKAGE qdb_error_t | qdb_get_expiry_time (qdb_handle_t handle, const char *alias, qdb_time_t *expiry_time) |
| Retrieves the absolute expiration time of the given entry. More...
|
|
QDB_API_LINKAGE qdb_error_t | qdb_get_location (qdb_handle_t handle, const char *alias, qdb_remote_node_t *location) |
| Returns the primary node of an entry. More...
|
|
QDB_API_LINKAGE qdb_error_t | qdb_get_type (qdb_handle_t handle, const char *alias, qdb_entry_type_t *entry_type) |
| Gets the type of an entry, if it exists. More...
|
|
QDB_API_LINKAGE qdb_error_t | qdb_get_metadata (qdb_handle_t handle, const char *alias, qdb_entry_metadata_t *entry_metadata) |
| Gets the meta-information about an entry, if it exists. More...
|
|
QDB_API_LINKAGE qdb_error_t | qdb_get_metadata_by_id (qdb_handle_t handle, const qdb_id_t *reference, qdb_entry_metadata_t *entry_metadata) |
| Gets the meta-information about an entry, if it exists. More...
|
|
QDB_API_LINKAGE qdb_error_t | qdb_purge_all (qdb_handle_t handle, int timeout_ms) |
| Removes irremediably all data from all the nodes of the cluster. More...
|
|
QDB_API_LINKAGE qdb_error_t | qdb_trim_all (qdb_handle_t handle, int timeout_ms) |
| Trims all data on all the nodes of the cluster. More...
|
|
QDB_API_LINKAGE qdb_error_t | qdb_cluster_compact (qdb_handle_t handle, qdb_compact_options_t options, int timeout_ms) |
| Compacts all data in the persistence layer on all the nodes of the cluster. More...
|
|
QDB_API_LINKAGE qdb_error_t | qdb_purge_cache (qdb_handle_t handle, int timeout_ms) |
| Removes all cached data from all the nodes of the cluster. More...
|
|
QDB_API_LINKAGE qdb_error_t | qdb_wait_for_stabilization (qdb_handle_t handle, int timeout_ms) |
| Wait for all nodes of the cluster to be stabilized. More...
|
|
QDB_API_LINKAGE qdb_error_t | qdb_cluster_endpoints (qdb_handle_t handle, qdb_remote_node_t **endpoints, qdb_size_t *endpoints_count) |
| Retrieve a sorted array of endpoints. More...
|
|