Berkeley DB: C++ Handle Methods (version 4.3.29)

C++ Handle MethodsDescription
DbCreate a database handle
Db::associateAssociate a secondary index
Db::closeClose a database
Db::closeCreate a cursor
Db::cursorCreate a cursor handle
Db::delDelete items from a database
Db::err, Db::errxError message
Db::fdReturn a file descriptor from a database
Db::get, Db::pgetGet items from a database
Db::get_byteswappedReturn if the underlying database is in host order
Db::getenvReturn database environment handle
Db::get_mpfReturn underlying DbMpoolFile handle
Db::get_typeReturn the database type
Db::joinPerform a database join on cursors
Db::key_rangeReturn estimate of key location
Db::get_mpfReturn the database's memory pool handle
Db::openOpen a database
Db::putStore items into a database
Db::removeRemove a database
Db::renameRename a database
Db::set_allocSet local space allocation functions
Db::set_append_recnoSet record append callback
Db::set_bt_compareSet a Btree comparison function
Db::set_bt_minkeySet the minimum number of keys per Btree page
Db::set_bt_prefixSet a Btree prefix comparison function
Db::set_cachesizeSet the database cache size
Db::set_dup_compareSet a duplicate comparison function
Db::set_encryptSet the database cryptographic key
Db::set_errcall, Db::set_msgcallSet error and informational message callback
Db::set_errfile, Db::set_msgfileSet error and informational message FILE
Db::set_error_stream, Db::set_message_streamSet error and informational message output stream
Db::set_errpfxSet error message prefix
Db::set_feedbackSet feedback callback
Db::set_flagsGeneral database configuration
Db::set_h_ffactorSet the Hash table density
Db::set_h_hashSet a hashing function
Db::set_h_nelemSet the Hash table size
Db::set_lorderSet the database byte order
Db::set_pagesizeSet the underlying database page size
Db::set_paniccallSet panic callback
Db::set_q_extentsizeSet Queue database extent size
Db::set_re_delimSet the variable-length record delimiter
Db::set_re_lenSet the fixed-length record length
Db::set_re_padSet the fixed-length record pad byte
Db::set_re_sourceSet the backing Recno text file
Db::stat, Db::stat_printDatabase statistics
Db::syncFlush a database to stable storage
Db::truncateEmpty a database
Db::upgradeUpgrade a database
Db::verifyVerify/salvage a database
Dbc::closeClose a cursor
Dbc::countReturn count of duplicates
Dbc::delDelete by cursor
Dbc::dupDuplicate a cursor
Dbc::get, Dbc::pgetRetrieve by cursor
Dbc::putStore by cursor
DbDeadlockExceptionDeadlock exception
DbEnvCreate an environment handle
DbEnv::closeClose an environment
DbEnv::dbremoveRemove a database
DbEnv::dbrenameRename a database
DbEnv::err, DbEnv::errxError message
DbEnv::get_homeReturn environment's home directory
DbEnv::get_open_flagsReturn the flags with which the environment was opened
DbEnv::lock_detectPerform deadlock detection
DbEnv::lock_getAcquire a lock
DbEnv::lock_idAcquire a locker ID
DbEnv::lock_id_freeRelease a locker ID
DbEnv::lock_putRelease a lock
DbEnv::lock_statReturn lock subsystem statistics
DbEnv::lock_vecAcquire/release locks
DbEnv::log_archiveList log and database files
DbEnv::log_fileMap Log Sequence Numbers to log files
DbEnv::log_flushFlush log records
DbEnv::log_putWrite a log record
DbEnv::log_statReturn log subsystem statistics
DbEnv::memp_fcreateCreate a memory pool file handle
DbEnv::memp_registerRegister input/output functions for a file in a memory pool
DbEnv::set_max_openfdSet the maximum number of open file descriptors
DbEnv::set_max_writeSet the maximum number of sequential disk writes
DbEnv::memp_statReturn memory pool statistics
DbEnv::memp_syncFlush pages from a memory pool
DbEnv::memp_trickleTrickle flush pages from a memory pool
DbEnv::openOpen an environment
DbEnv::removeRemove an environment
DbEnv::rep_electHold a replication election
DbEnv::rep_process_messageProcess a replication message
DbEnv::rep_startConfigure an environment for replication
DbEnv::rep_statReplication statistics
DbEnv::set_allocSet local space allocation functions
DbEnv::set_app_dispatchConfigure application recovery
DbEnv::set_cachesizeSet the environment cache size
DbEnv::set_cachesizeSet the environment cache size
DbEnv::set_data_dirSet the environment data directory
DbEnv::set_encryptSet the environment cryptographic key
DbEnv::set_errcall, DbEnv::set_msgcallSet error and informational message callbacks
DbEnv::set_errfile, DbEnv::set_msgfileSet error and informational message FILE
DbEnv::set_error_stream, DbEnv::set_message_streamSet error and informational message output stream
DbEnv::set_errpfxSet error message prefix
DbEnv::set_feedbackSet feedback callback
DbEnv::set_flagsEnvironment configuration
DbEnv::set_lg_bsizeSet log buffer size
DbEnv::set_lg_dirSet the environment logging directory
DbEnv::set_lg_maxSet log file size
DbEnv::set_lg_regionmaxSet logging region size
DbEnv::set_lk_conflictsSet lock conflicts matrix
DbEnv::set_lk_detectSet automatic deadlock detection
DbEnv::set_lk_max_lockersSet maximum number of lockers
DbEnv::set_lk_max_locksSet maximum number of locks
DbEnv::set_lk_max_objectsSet maximum number of lock objects
DbEnv::set_mp_mmapsizeSet maximum mapped-in database file size
DbEnv::set_paniccallSet panic callback
DbEnv::set_rep_limitLimit data sent in response to a single message
DbEnv::set_rep_transportConfigure replication transport
DbEnv::set_rpc_serverEstablish an RPC server connection
DbEnv::set_shm_keySet system memory shared segment ID
DbEnv::set_tas_spinsSet the number of test-and-set spins
DbEnv::set_timeoutSet lock and transaction timeout
DbEnv::set_timeoutSet lock and transaction timeout
DbEnv::set_timeoutSet lock and transaction timeout
DbEnv::set_tmp_dirSet the environment temporary file directory
DbEnv::set_tx_maxSet maximum number of transactions
DbEnv::set_tx_timestampSet recovery timestamp
DbEnv::set_verboseSet verbose messages
DbEnv::stat_printEnvironment statistics
DbEnv::txn_beginBegin a transaction
DbEnv::txn_checkpointCheckpoint the transaction subsystem
DbEnv::txn_recoverDistributed transaction recovery
DbEnv::txn_statReturn transaction subsystem statistics
DbLockNotGrantedExceptionLock-not-granted exception
DbLockLock object
DbLogcLog Cursor Object
DbEnv::log_cursorCreate a log cursor handle
DbLogc::closeClose a log cursor
DbLogc::getRetrieve a log record
DbLsnLog Sequence Numbers
DbMemoryExceptionInsufficient memory exception
DbMpoolFileMemory pool file object
DbMpoolFile::closeClose a file in a memory pool
DbMpoolFile::getGet page from a file in a memory pool
DbMpoolFile::openOpen a file in a memory pool
DbMpoolFile::putReturn a page to a memory pool
DbMpoolFile::setSet memory pool page attributes
DbMpoolFile::set_clear_lenSet file page bytes to be cleared
DbMpoolFile::set_fileidSet file unique identifier
DbMpoolFile::set_flagsGeneral memory pool file configuration
DbMpoolFile::set_ftypeSet file type
DbMpoolFile::set_lsn_offsetSet file log-sequence-number offset
DbMpoolFile::set_maxsizeSet maximum file size
DbMpoolFile::set_pgcookieSet file cookie for pgin/pgout
DbMpoolFile::set_prioritySet memory pool file priority
DbMpoolFile::syncFlush pages from a file in a memory pool
DbSequenceCreate a sequence handle
DbSequence::closeClose a sequence
DbSequence::getGet the next sequence element(s)
DbSequence::get_dbpReturn a handle for the underlying sequence database
DbSequence::get_keyReturn the key for a sequence
DbSequence::init_valueSet the initial value of a sequence
DbSequence::openOpen a sequence
DbSequence::removeRemove a sequence
DbSequence::set_cachesizeSet the cache size of a sequence
DbSequence::set_flagsSet the flags for a sequence
DbSequence::set_rangeSet the range for a sequence
DbSequence::statReturn sequence statistics
DbTxnTransaction object
DbTxn::abortAbort a transaction
DbTxn::commitCommit a transaction
DbTxn::discardDiscard a prepared but not resolved transaction handle
DbTxn::idReturn a transaction's ID
DbTxn::preparePrepare a transaction for commit
DbTxn::set_timeoutSet transaction timeout
DbEnv::strerrorError strings
DbEnv::versionReturn version information
DbEnv::log_compareCompare two Log Sequence Numbers

Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.