The functions and interfaces applications use to customize and extend the behavior of WiredTiger. More...
Classes | |
struct | WT_COLLATOR |
The interface implemented by applications to provide custom ordering of records. More... | |
struct | WT_COMPRESSOR |
The interface implemented by applications to provide custom compression. More... | |
struct | WT_DATA_SOURCE |
Applications can extend WiredTiger by providing new implementations of the WT_DATA_SOURCE class. More... | |
struct | WT_EXTRACTOR |
The interface implemented by applications to provide custom extraction of index keys or column group values. More... | |
struct | WT_TXN_NOTIFY |
Snapshot isolation level, returned by WT_EXTENSION_API::transaction_isolation_level. More... | |
struct | WT_EXTENSION_API |
Table of WiredTiger extension methods. More... | |
struct | WT_CONFIG_ITEM |
The configuration information returned by the WiredTiger extension function WT_EXTENSION_API::config_get. More... | |
Macros | |
#define | WT_TXN_ISO_READ_COMMITTED |
Read-committed isolation level, returned by WT_EXTENSION_API::transaction_isolation_level. | |
#define | WT_TXN_ISO_READ_UNCOMMITTED |
Read-uncommitted isolation level, returned by WT_EXTENSION_API::transaction_isolation_level. | |
#define | WT_TXN_ISO_SNAPSHOT |
Snapshot isolation level, returned by WT_EXTENSION_API::transaction_isolation_level. | |
Typedefs | |
typedef struct WT_CONFIG_ARG | WT_CONFIG_ARG |
A configuration object passed to some extension interfaces. More... | |
typedef struct WT_CONFIG_SCAN | WT_CONFIG_SCAN |
A handle for a scan through a configuration string. More... | |
Functions | |
int | wiredtiger_extension_init (WT_CONNECTION *connection, WT_CONFIG_ARG *config) |
Entry point to an extension, called when the extension is loaded. More... | |
int | wiredtiger_extension_terminate (WT_CONNECTION *connection) |
Optional cleanup function for an extension, called during WT_CONNECTION::close. More... | |
The functions and interfaces applications use to customize and extend the behavior of WiredTiger.
struct WT_CONFIG_ITEM |
The configuration information returned by the WiredTiger extension function WT_EXTENSION_API::config_get.
Class Members | ||
---|---|---|
__unnamed__ |
Permitted values of the type field. |
Class Members | ||
---|---|---|
size_t | len |
The number of bytes in the value referenced by str . |
const char * | str |
The value of a configuration string. Regardless of the type of the configuration string (boolean, int, list or string), the The bytes referenced by |
enum WT_CONFIG_ITEM | type |
Permitted values of the type field. The type of value determined by the parser. In all cases, the |
int64_t | val |
The value of a configuration boolean or integer. If the configuration string's value is "true" or "false", the If the configuration string can be legally interpreted as an integer, using the strtoll function rules as specified in ISO/IEC 9899:1990 ("ISO C90"), that integer will be stored in the |
A configuration object passed to some extension interfaces.
This is an opaque type: configuration values can be queried using WT_EXTENSION_API::config_get.
A handle for a scan through a configuration string.
This is an opaque type returned by WT_EXTENSION_API::config_scan_begin. Configuration values can be queried using WT_EXTENSION_API::config_scan_next. Call WT_EXTENSION_API::config_scan_end when finished to release resources.
int wiredtiger_extension_init | ( | WT_CONNECTION * | connection, |
WT_CONFIG_ARG * | config | ||
) |
Entry point to an extension, called when the extension is loaded.
connection | the connection handle |
config | the config information passed to WT_CONNECTION::load_extension |
int wiredtiger_extension_terminate | ( | WT_CONNECTION * | connection) |
Optional cleanup function for an extension, called during WT_CONNECTION::close.
connection | the connection handle |