kv_create_properties()

#include <kvstore.h>

kv_error_t
kv_create_properties(kv_impl_t *impl,
                     kv_properties_t **props) 

Creates and allocates resources for a properties structure. Use kv_set_property() to set a property to the structure allocated here. Use kv_release_properties() to release the structure.

The properties you can set here control the behavior of the underlying Java code. At present, you can use only the Oracle NoSQL Database security properties. See kv_set_property() for details. These are set for the store configuration using kv_config_set_security_properties().

Parameters

  • impl

    The impl parameter is the implementation structure you are using for the library. It is created usingkv_create_jni_impl().

  • props

    The props parameter references memory into which is placed the initialized kv_properties_t structure.