#include <corelib/ncbireg.hpp>
#include <db/bdb/bdb_file.hpp>
#include <db/bdb/bdb_cursor.hpp>
#include <db/bdb/bdb_trans.hpp>
Include dependency graph for bdb_util.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| template<class FL, class Func> | |
| void | BDB_iterate_file (FL &dbf, Func &func) |
| Template algorithm function to iterate the BDB File. | |
| template<class FL, class IT, class Func> | |
| void | BDB_iterate_file (FL &dbf, IT start, IT finish, Func &func) |
| Iterate file following the sequence of ids BDB file should have an integer key. | |
| template<class IT, class Lock> | |
| void | BDB_batch_delete_recs (CBDB_File &dbf, IT start, IT finish, unsigned batch_size, Lock *locker) |
| Delete file records based on sequence of ids. | |
| CBDB_File::TUnifiedFieldIndex | BDB_find_field (const CBDB_File &dbf, const CBoyerMooreMatcher &matcher, string *tmp_str_buffer=0) |
| Find index of field containing the specified value Search condition is specified by CBoyerMooreMatcher By default search is performed in string fields, but if tmp_str_buffer is specified function will try to convert non-strings(int, float) and search in there. | |
| int | BDB_get_rowid (const CBDB_File &dbf) |
| Return record id (integer key). | |
| CBDB_Env * | BDB_CreateEnv (const CNcbiRegistry ®, const string §ion_name) |
| Create and configure BDB environment using CNcbiRegistry as a parameter container. | |
|
||||||||||||
|
Create and configure BDB environment using CNcbiRegistry as a parameter container.
Definition at line 236 of file bdb_util.cpp. References CDirEntry::AddTrailingPathSeparator(), CDir::Create(), CBDB_Env::eEnvConcurrent, CBDB_Env::eEnvLocking, CBDB_Env::eEnvTransactional, NStr::EqualNocase(), IRegistry::eReturn, CDir::Exists(), IRegistry::GetBool(), IRegistry::GetString(), s_LogEnvParam(), and NStr::ToLower(). Referenced by CBDBEnvKeeperApp::Run(). |
1.4.6
Modified on Wed Dec 09 08:18:17 2009 by modify_doxy.py rev. 173732