Version 1.1.5
WiredTiger Extension API

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_CURSOR_TYPE
 Applications can extend WiredTiger by providing new implementations of the WT_CURSOR class. More...
struct  WT_EXTRACTOR
 The interface implemented by applications to provide custom extraction of index keys or column group values. More...
struct  WT_EXTENSION_API
 Table of WiredTiger extension functions. More...

Functions

int wiredtiger_extension_init (WT_SESSION *session, WT_EXTENSION_API *api, const char *config)
 Entry point to an extension, implemented by loadable modules.

Variables

WT_EXTENSION_APIwt_api
 This global variable must appear in each extension module.

Detailed Description

The functions and interfaces applications use to customize and extend the behavior of WiredTiger.


Function Documentation

int wiredtiger_extension_init ( WT_SESSION session,
WT_EXTENSION_API api,
const char *  config 
)

Entry point to an extension, implemented by loadable modules.

Parameters:
sessionthe session handle
apientry points for WiredTiger functions exported to extensions
configthe config string passed to WT_CONNECTION::load_extension
Returns:
zero on success and a non-zero error code on failure. See Error Returns for details.

Variable Documentation

This global variable must appear in each extension module.