C API
19.3.0
Oracle NoSQL Database C Client
|
Functions | |
kv_error_t | kv_open_store (kv_store_t **storep, const char *host, int port, const kv_config_t *config) |
Opens a KV Store handle. Call kv_close_store() to release the resources allocated for the kv_store_t structure. More... | |
kv_error_t | kv_open_store_with_proxy (kv_store_t **storep, const char *host, int port, const kv_config_t *config, const kv_proxy_config_t *proxy_config) |
Opens a KV Store handle. This call will implicitly start a local proxy server using the specified host and port and proxy configuration information, if one is not already available. Users must call kv_close_store() to release the resources allocated for the kv_store_t structure. More... | |
void | kv_close_store (kv_store_t **storep) |
Closes the store, releases all resources used by the handle. More... | |
kv_error_t | kv_shutdown_proxy (kv_store_t *store) |
Shutdown the proxy. More... | |
void kv_close_store | ( | kv_store_t ** | storep | ) |
Closes the store, releases all resources used by the handle.
[in] | storep |
kv_error_t kv_open_store | ( | kv_store_t ** | storep, |
const char * | host, | ||
int | port, | ||
const kv_config_t * | config | ||
) |
Opens a KV Store handle. Call kv_close_store() to release the resources allocated for the kv_store_t structure.
[out] | storep | The output store handle, it must be freed using kv_close_store(). |
[in] | host | The host name of proxy server. |
[in] | port | The port number of proxy server. |
[in] | config | The store configuration structure. It is created using kv_create_config(). |
kv_error_t kv_open_store_with_proxy | ( | kv_store_t ** | storep, |
const char * | host, | ||
int | port, | ||
const kv_config_t * | config, | ||
const kv_proxy_config_t * | proxy_config | ||
) |
Opens a KV Store handle. This call will implicitly start a local proxy server using the specified host and port and proxy configuration information, if one is not already available. Users must call kv_close_store() to release the resources allocated for the kv_store_t structure.
[out] | storep | The output store handle, it must be freed using kv_close_store(). |
[in] | host | The host name of proxy server. |
[in] | port | The port number of proxy server. |
[in] | config | The store configuration structure. It is created using kv_create_config(). |
[in] | proxy_config | The proxy configuration structure. It is created using kv_create_proxy_config(). |
kv_error_t kv_shutdown_proxy | ( | kv_store_t * | store | ) |
Shutdown the proxy.
[in] | store | The store handle |