quasardb C API: qdb/direct.h File Reference

quasardb C API

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Typedefs | Functions
direct.h File Reference
`#include "client.h"`

## Typedefs
typedef struct qdb_direct_handle_internal * | qdb_direct_handle_t
| An opaque handle to internal API-allocated structures needed for maintaining a direct connection to a cluster.

## Functions
QDB_API_LINKAGE qdb_direct_handle_t | qdb_direct_connect (qdb_handle_t handle, const char *uri)
| Opens a direct connection to a node for use with the direct API. More...
QDB_API_LINKAGE void | qdb_direct_close (qdb_direct_handle_t handle)
| Close a direct handle initially opened with qdb_direct_connect. More...
QDB_API_LINKAGE qdb_error_t | qdb_direct_blob_get (qdb_direct_handle_t handle, const char *alias, const void **content, qdb_size_t *content_length)
| Retrieves an entry's content from a quasardb node's local storage. More...
QDB_API_LINKAGE qdb_error_t | qdb_direct_blob_put (qdb_direct_handle_t handle, const char *alias, const void *content, qdb_size_t content_length, qdb_time_t expiry_time)
| Creates a new entry and sets its content to the provided blob. More...
QDB_API_LINKAGE qdb_error_t | qdb_direct_blob_update (qdb_direct_handle_t handle, const char *alias, const void *content, qdb_size_t content_length, qdb_time_t expiry_time)
| Creates or updates an entry and sets its content to the provided blob. More...
QDB_API_LINKAGE qdb_error_t | qdb_direct_remove (qdb_direct_handle_t handle, const char *alias)
| Removes an entry from the local node's storage, regardless of its type. More...
QDB_API_LINKAGE qdb_error_t | qdb_direct_int_put (qdb_direct_handle_t handle, const char *alias, qdb_int_t integer, qdb_time_t expiry_time)
| Creates a new signed 64-bit integer. More...
QDB_API_LINKAGE qdb_error_t | qdb_direct_int_update (qdb_direct_handle_t handle, const char *alias, qdb_int_t integer, qdb_time_t expiry_time)
| Creates or updates a signed 64-bit integer. More...
QDB_API_LINKAGE qdb_error_t | qdb_direct_int_get (qdb_direct_handle_t handle, const char *alias, qdb_int_t *integer)
| Retrieves the value of a signed 64-bit integer. More...
QDB_API_LINKAGE qdb_error_t | qdb_direct_int_add (qdb_direct_handle_t handle, const char *alias, qdb_int_t addend, qdb_int_t *result)
| Atomically increases or decreases a signed 64-bit integer. More...
QDB_API_LINKAGE qdb_error_t | qdb_direct_prefix_get (qdb_direct_handle_t handle, const char *prefix, qdb_int_t max_count, const char ***results, size_t *result_count)
| Retrieves the list of all entries matching the provided prefix. More...