Database Operations | Description |
---|---|
Db | Create a database handle |
Db::associate | Associate a secondary index |
Db::close | Close a database |
Db::close | Create a cursor |
Db::del | Delete items from a database |
Db::err, Db::errx | Error message |
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 database environment handle |
Db::get_mpf | Return underlying DbMpoolFile 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::open | Open a database |
Db::put | Store items into a database |
Db::remove | Remove a database |
Db::rename | Rename a database |
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 |
Database Configuration | |
Db::set_alloc | Set local space allocation functions |
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_lorder | Set the database byte order |
Db::set_pagesize | Set the underlying database page size |
Db::set_paniccall | Set panic callback |
Btree/Recno Configuration | |
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_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 |
Hash Configuration | |
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 |
Queue Configuration | |
Db::set_q_extentsize | Set Queue database extent size |
Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.