Berkeley DB: Berkeley DB: C++ Handle Methods (version 4.6.21)
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++

### Berkeley DB: C++ Handle Methods (version 4.6.21)

C++ Handle Methods | Description
--- | ---
Db | Create a database handle
Db::associate | Associate a secondary index
Db::close | Close a database
Db::compact | Compact a database
Db::cursor | Create a cursor
Db::del | Delete items from a database
Db::err, Db::errx | Error message
Db::exists | Return if an item appears in a database
Db::fd | Return a file descriptor from a database
Db::get, Db::pget | Get items from a database
Db::get_byteswapped | Return if the underlying database is in host order
Db::getenv | Return Db's underlying DbEnv handle
Db::get_type | Return the database type
Db::join | Perform a database join on cursors
Db::key_range | Return estimate of key location
Db::get_mpf | Return Db's underlying DbMpoolFile handle
Db::open | Open a database
Db::put | Store items into a database
Db::remove | Remove a database
Db::rename | Rename a database
Db::set_alloc | Set local space allocation functions
Db::set_append_recno | Set record append callback
Db::set_bt_compare | Set a Btree comparison function
Db::set_bt_minkey | Set the minimum number of keys per Btree page
Db::set_bt_prefix | Set a Btree prefix comparison function
Db::set_cachesize | Set the database cache size
Db::set_dup_compare | Set a duplicate comparison function
Db::set_encrypt | Set the database cryptographic key
Db::set_errcall, Db::set_msgcall | Set error and informational message callback
Db::set_errfile, Db::set_msgfile | Set error and informational message FILE
Db::set_error_stream, Db::set_message_stream | Set error and informational message output stream
Db::set_errpfx | Set error message prefix
Db::set_feedback | Set feedback callback
Db::set_flags | General database configuration
Db::set_h_compare | Set a Hash comparison function
Db::set_h_ffactor | Set the Hash table density
Db::set_h_hash | Set a hashing function
Db::set_h_nelem | Set the Hash table size
Db::set_lorder | Set the database byte order
Db::set_pagesize | Set the underlying database page size
Db::set_priority | Set cache page priority
Db::set_q_extentsize | Set Queue database extent size
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::stat, Db::stat_print | Database statistics
Db::sync | Flush a database to stable storage
Db::truncate | Empty a database
Db::upgrade | Upgrade a database
Db::verify | Verify/salvage a database
Dbc::close | Close a cursor
Dbc::count | Return count of duplicates
Dbc::del | Delete by cursor
Dbc::dup | Duplicate a cursor
Dbc::get, Dbc::pget | Retrieve by cursor
Dbc::put | Store by cursor
Dbc::set_priority | Set the cursor's cache priority
DbDeadlockException | Deadlock exception
DbEnv | Create an environment handle
DbEnv::cdsgroup_begin | Get a locker ID in Berkeley DB Concurrent Data Store
DbEnv::close | Close an environment
DbEnv::dbremove | Remove a database
DbEnv::dbrename | Rename a database
DbEnv::err, DbEnv::errx | Error message
DbEnv::failchk | Check for thread failure
DbEnv::fileid_reset | Reset database file IDs
DbEnv::get_home | Return environment's home directory
DbEnv::get_open_flags | Return flags with which the environment was opened
DbEnv::lock_detect | Perform deadlock detection
DbEnv::lock_get | Acquire a lock
DbEnv::lock_id | Acquire a locker ID
DbEnv::lock_id_free | Release a locker ID
DbEnv::lock_put | Release a lock
DbEnv::lock_stat | Return lock subsystem statistics
DbEnv::lock_vec | Acquire/release locks
DbEnv::log_archive | List log and database files
DbEnv::log_file | Map Log Sequence Numbers to log files
DbEnv::log_flush | Flush log records
DbEnv::log_printf | Append informational message to the log
DbEnv::log_put | Write a log record
DbEnv::log_stat | Return log subsystem statistics
DbEnv::lsn_reset | Reset database file LSNs
DbEnv::memp_fcreate | Create a memory pool file handle
DbEnv::memp_register | Register input/output functions for a file in a memory pool
DbEnv::memp_stat | Return memory pool statistics
DbEnv::memp_sync | Flush pages from a memory pool
DbEnv::memp_trickle | Trickle flush pages from a memory pool
DbEnv::mutex_alloc | Allocate a mutex
DbEnv::mutex_free | Free a mutex
DbEnv::mutex_lock | Lock a mutex
DbEnv::mutex_set_align | Configure mutex alignment
DbEnv::mutex_set_increment | Configure number of additional mutexes
DbEnv::mutex_set_max | Configure total number of mutexes
DbEnv::mutex_set_tas_spins | Configure test-and-set mutex spin count
DbEnv::mutex_stat | Mutex statistics
DbEnv::mutex_unlock | Unlock a mutex
DbEnv::open | Open an environment
DbEnv::remove | Remove an environment
DbEnv::rep_elect | Hold a replication election
DbEnv::rep_process_message | Process a replication message
DbEnv::rep_set_config | Configure the replication subsystem
DbEnv::rep_set_limit | Limit data sent in response to a single message
DbEnv::rep_set_nsites | Configure replication group site count
DbEnv::rep_set_priority | Configure replication site priority
DbEnv::rep_set_request | Configure replication client retransmission requests
DbEnv::rep_set_timeout | Configure replication timeouts
DbEnv::rep_set_transport | Configure replication transport callback
DbEnv::rep_start | Configure an environment for replication
DbEnv::rep_stat | Replication statistics
DbEnv::rep_sync | Replication synchronization
DbEnv::repmgr_add_remote_site | Specify the replication manager's remote sites
DbEnv::repmgr_set_ack_policy | Specify the replication manager's client acknowledgement policy
DbEnv::repmgr_set_local_site | Specify the replication manager's local site
DbEnv::repmgr_site_list | List the sites and their status
DbEnv::repmgr_start | Start the replication manager
DbEnv::repmgr_stat | Replication manager statistics
DbEnv::set_alloc | Set local space allocation functions
DbEnv::set_app_dispatch | Configure application recovery
DbEnv::set_cache_max | Set the maximum cache size
DbEnv::set_cachesize | Set the environment cache size
DbEnv::set_data_dir | Set the environment data directory
DbEnv::set_encrypt | Set the environment cryptographic key
DbEnv::set_errcall, DbEnv::set_msgcall | Set error and informational message callbacks
DbEnv::set_errfile, DbEnv::set_msgfile | Set error and informational message FILE
DbEnv::set_error_stream, DbEnv::set_message_stream | Set error and informational message output stream
DbEnv::set_errpfx | Set error message prefix
DbEnv::set_event_notify | Set event notification callback
DbEnv::set_feedback | Set feedback callback
DbEnv::set_flags | Environment configuration
DbEnv::set_isalive | Set thread is-alive callback
DbEnv::set_lg_bsize | Set log buffer size
DbEnv::set_lg_dir | Set the environment logging directory
DbEnv::set_lg_filemode | Set log file mode
DbEnv::set_lg_max | Set log file size
DbEnv::set_lg_regionmax | Set logging region size
DbEnv::set_lk_conflicts | Set lock conflicts matrix
DbEnv::set_lk_detect | Set automatic deadlock detection
DbEnv::set_lk_max_lockers | Set maximum number of lockers
DbEnv::set_lk_max_locks | Set maximum number of locks
DbEnv::set_lk_max_objects | Set maximum number of lock objects
DbEnv::set_mp_max_openfd | Set the maximum number of open file descriptors
DbEnv::set_mp_max_write | Set the maximum number of sequential disk writes
DbEnv::set_mp_mmapsize | Set maximum mapped-in database file size
DbEnv::set_rpc_server | Establish an RPC server connection
DbEnv::set_shm_key | Set system memory shared segment ID
DbEnv::set_thread_count | Set approximate thread count
DbEnv::set_thread_id | Set thread of control ID function
DbEnv::set_thread_id_string | Set thread of control ID format function
DbEnv::set_timeout | Set lock and transaction timeout
DbEnv::set_tmp_dir | Set the environment temporary file directory
DbEnv::set_tx_max | Set maximum number of transactions
DbEnv::set_tx_timestamp | Set recovery timestamp
DbEnv::set_verbose | Set verbose messages
DbEnv::stat_print | Environment statistics
DbEnv::txn_begin | Begin a transaction
DbEnv::txn_checkpoint | Checkpoint the transaction subsystem
DbEnv::txn_recover | Distributed transaction recovery
DbEnv::txn_stat | Return transaction subsystem statistics
DbLockNotGrantedException | Lock-not-granted exception
DbLock | Lock object
DbLogc | Log Cursor Object
DbEnv::log_cursor | Create a log cursor handle
DbLogc::close | Close a log cursor
DbLogc::get | Retrieve a log record
DbLsn | Log Sequence Numbers
DbMemoryException | Insufficient memory exception
DbMpoolFile | Memory pool file object
DbMpoolFile::close | Close a file in a memory pool
DbMpoolFile::get | Get page from a file in a memory pool
DbMpoolFile::open | Open a file in a memory pool
DbMpoolFile::put | Return a page to a memory pool
DbMpoolFile::set_clear_len | Set file page bytes to be cleared
DbMpoolFile::set_fileid | Set file unique identifier
DbMpoolFile::set_flags | General memory pool file configuration
DbMpoolFile::set_ftype | Set file type
DbMpoolFile::set_lsn_offset | Set file log-sequence-number offset
DbMpoolFile::set_maxsize | Set maximum file size
DbMpoolFile::set_pgcookie | Set file cookie for pgin/pgout
DbMpoolFile::set_priority | Set memory pool file priority
DbMpoolFile::sync | Flush pages from a file in a memory pool
DbSequence | Create a sequence handle
DbSequence::close | Close a sequence
DbSequence::get | Get the next sequence element(s)
DbSequence::get_dbp | Return a handle for the underlying sequence database
DbSequence::get_key | Return the key for a sequence
DbSequence::initial_value | Set the initial value of a sequence
DbSequence::open | Open a sequence
DbSequence::remove | Remove a sequence
DbSequence::set_cachesize | Set the cache size of a sequence
DbSequence::set_flags | Set the flags for a sequence
DbSequence::set_range | Set the range for a sequence
DbSequence::stat | Return sequence statistics
DbTxn | Transaction object
DbTxn::abort | Abort a transaction
DbTxn::commit | Commit a transaction
DbTxn::discard | Discard a prepared but not resolved transaction handle
DbTxn::id | Return a transaction's ID
DbTxn::prepare | Prepare a transaction for commit
DbTxn::set_name | Associate a string with a transaction
DbTxn::set_timeout | Set transaction timeout
DbEnv::strerror | Error strings
DbEnv::version | Return version information
DbEnv::log_compare | Compare two Log Sequence Numbers

Copyright (c) 1996,2007 Oracle. All rights reserved.