Berkeley DB: C++ Interface by Class
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++

# C++ Interface by Class

Class | Method | Description
--- | --- | ---
DbEnv |  | Berkeley DB Environment Class
| DbEnv::close | Close an environment
| DbEnv::err | Error message with error string
| DbEnv::errx | Error message
| DbEnv::open | Open an environment
| DbEnv::remove | Remove an environment
| DbEnv::set_cachesize | Set the environment cache size
| DbEnv::set_data_dir | Set the environment data directory
| DbEnv::set_errcall | Set error message callback
| DbEnv::set_errfile | Set error message FILE *
| DbEnv::set_error_stream | Set error message output stream
| DbEnv::set_errpfx | Set error message prefix
| DbEnv::set_feedback | Set feedback callback
| DbEnv::set_lg_bsize | Set log buffer size
| DbEnv::set_lg_dir | Set the environment logging directory
| DbEnv::set_lg_max | Set log file size
| DbEnv::set_lk_conflicts | Set lock conflicts matrix
| DbEnv::set_lk_detect | Set automatic deadlock detection
| DbEnv::set_lk_max | Set maximum number of locks
| DbEnv::set_mp_mmapsize | Set maximum mapped-in database file size
| DbEnv::set_mutexlocks | Turn off mutual exclusion locking
| DbEnv::set_pageyield | Yield the processor on each page access
| DbEnv::set_paniccall | Set panic callback
| DbEnv::set_panicstate | Reset panic state
| DbEnv::set_recovery_init | Set recovery initialization callback
| DbEnv::set_region_init | Fault in shared regions on initial access
| DbEnv::set_server | Establish server connection
| DbEnv::set_shm_key | Set system memory shared segment ID
| DbEnv::set_tas_spins | Set the number of test-and-set spins
| DbEnv::set_tmp_dir | Set the environment temporary file directory
| DbEnv::set_tx_max | Set maximum number of transactions
| DbEnv::set_tx_recover | Set transaction abort recover function
| DbEnv::set_tx_timestamp | Set recovery timestamp
| DbEnv::set_verbose | Set verbose messages
| DbEnv::strerror | Error strings
| DbEnv::lock_detect | Perform deadlock detection
| DbEnv::lock_get | Acquire a lock
| DbEnv::lock_id | Acquire a locker ID
| DbEnv::lock_stat | Return lock subsystem statistics
| DbEnv::lock_vec | Acquire/release locks
| DbEnv::log_archive | List log and database files
| DbEnv::log_compare | Compare two Log Sequence Numbers
| DbEnv::log_file | Map Log Sequence Numbers to log files
| DbEnv::log_flush | Flush log records
| DbEnv::log_get | Get a log record
| DbEnv::log_put | Write a log record
| DbEnv::log_register | Register a file name with the log manager
| DbEnv::log_stat | Return log subsystem statistics
| DbEnv::log_unregister | Unregister a file name with the log manager
| DbEnv::memp_register | Register input/output functions for a file in a buffer pool.
| DbEnv::memp_stat | Return buffer pool statistics
| DbEnv::memp_sync | Flush pages from a buffer pool
| DbEnv::memp_trickle | Trickle flush pages from a buffer pool
| DbEnv::txn_begin | Begin a transaction
| DbEnv::txn_checkpoint | Checkpoint the transaction subsystem
| DbEnv::txn_stat | Return transaction subsystem statistics
| DbEnv::version | Return version information
Db |  | Berkeley DB Access Method Class
| Db::close | Close a database
| Db::cursor | Open a cursor into a database
| Db::del | Delete items from a database
| Db::err | Error message with error string
| Db::errx | Error message
| Db::fd | Return a file descriptor from a database
| Db::get | Get items from a database
| Db::get_byteswapped | Return if the underlying database is in host order
| Db::get_type | Return the database type
| Db::join | Perform a database join on cursors
| Db::key_range | Return estimate of key location
| Db::open | Open a database
| Db::put | Store items into a database
| Db::remove | Remove a database
| Db::rename | Rename a database
| Db::set_bt_compare | Specify a Btree comparison function
| Db::set_bt_minkey | Set the minimum number of keys per Btree page
| Db::set_bt_prefix | Specify a Btree prefix comparison function
| Db::set_cachesize | Set the database cache size
| Db::set_dup_compare | Specify a duplicate comparison function
| Db::set_errcall | Set error message callback
| Db::set_errfile | Set error message FILE *
| Db::set_errpfx | Set error message prefix
| Db::set_feedback | Set feedback callback
| Db::set_flags | General database configuration
| Db::set_h_ffactor | Set the Hash table density
| Db::set_h_hash | Specify a hashing function
| Db::set_h_nelem | Set the Hash table size
| Db::set_lorder | Set the database byte order
| Db::set_malloc | Specify a local space allocation function
| Db::set_pagesize | Set the underlying database page size
| Db::set_paniccall | Set panic callback
| Db::set_re_delim | Set the variable-length record delimiter
| Db::set_re_len | Set the fixed-length record length
| Db::set_re_pad | Set the fixed-length record pad byte
| Db::set_re_source | Set the backing Recno text file
| Db::set_realloc | Specify a local space allocation function
| Db::stat | Return database statistics
| Db::sync | Flush a database to stable storage
| Db::upgrade | Upgrade a database
| Db::verify | Verify/upgrade a database
Dbc |  | Berkeley DB Cursor Class
| Dbc::close | Close a cursor
| Dbc::count | Return count of duplicates
| Dbc::del | Delete by cursor
| Dbc::dup | Duplicate a cursor
| Dbc::get | Retrieve by cursor
| Dbc::put | Store by cursor
Dbt |  | Key/Data Encoding Class
DbLock |  | Lock Class
| DbLock::put | Release a lock
DbLsn |  | Log Sequence Number Class
DbMpoolFile |  | Memory Pool File Class
| DbMpoolFile::close | Close a file in a buffer pool
| DbMpoolFile::get | Get page from a file in a buffer pool
| DbMpoolFile::open | Open a file in a buffer pool
| DbMpoolFile::put | Return a page to a buffer pool
| DbMpoolFile::set | Modify meta information for buffer pool page
| DbMpoolFile::sync | Flush pages from a file in a buffer pool
DbTxn |  | Transaction Class
| DbTxn::abort | Abort a transaction
| DbTxn::commit | Commit a transaction
| DbTxn::id | Return a transaction ID
| DbTxn::prepare | Prepare a transaction for commit
DbException |  | Exception Class for Berkeley DB Activity
| DbException::get_errno | Get the error value
| DbException::what | Get the error string

Copyright Sleepycat Software