NCBI C++ ToolKit
Modules | Macros | Enumerator | Variables
Write Flags
+ Collaboration diagram for Write Flags:

Modules

 Copy Flags
 

Macros

#define MDB_NOOVERWRITE   0x10
 For put: Don't write if the key already exists. More...
 
#define MDB_NOOVERWRITE   0x10
 For put: Don't write if the key already exists. More...
 
#define MDB_NODUPDATA   0x20
 Only for MDB_DUPSORT
For put: don't write if the key and data pair already exist. More...
 
#define MDB_NODUPDATA   0x20
 Only for MDB_DUPSORT
For put: don't write if the key and data pair already exist. More...
 
#define MDB_CURRENT   0x40
 For mdb_cursor_put: overwrite the current key/data pair. More...
 
#define MDB_CURRENT   0x40
 For mdb_cursor_put: overwrite the current key/data pair. More...
 
#define MDB_RESERVE   0x10000
 For put: Just reserve space for data, don't copy it. More...
 
#define MDB_RESERVE   0x10000
 For put: Just reserve space for data, don't copy it. More...
 
#define MDB_APPEND   0x20000
 Data is being appended, don't split full pages. More...
 
#define MDB_APPEND   0x20000
 Data is being appended, don't split full pages. More...
 
#define MDB_APPENDDUP   0x40000
 Duplicate data is being appended, don't split full pages. More...
 
#define MDB_APPENDDUP   0x40000
 Duplicate data is being appended, don't split full pages. More...
 
#define MDB_MULTIPLE   0x80000
 Store multiple data items in one call. More...
 
#define MDB_MULTIPLE   0x80000
 Store multiple data items in one call. More...
 

Variables

size_t MDB_val::mv_size
 size of the data item More...
 
void * MDB_val::mv_data
 address of the data item More...
 
unsigned int MDB_stat::ms_psize
 Size of a database page. More...
 
unsigned int MDB_stat::ms_depth
 Depth (height) of the B-tree. More...
 
size_t MDB_stat::ms_branch_pages
 Number of internal (non-leaf) pages. More...
 
size_t MDB_stat::ms_leaf_pages
 Number of leaf pages. More...
 
size_t MDB_stat::ms_overflow_pages
 Number of overflow pages. More...
 
size_t MDB_stat::ms_entries
 Number of data items. More...
 
void * MDB_envinfo::me_mapaddr
 Address of map, if fixed. More...
 
size_t MDB_envinfo::me_mapsize
 Size of the data memory map. More...
 
size_t MDB_envinfo::me_last_pgno
 ID of the last used page. More...
 
size_t MDB_envinfo::me_last_txnid
 ID of the last committed transaction. More...
 
unsigned int MDB_envinfo::me_maxreaders
 max reader slots in the environment More...
 
unsigned int MDB_envinfo::me_numreaders
 max reader slots used in the environment More...
 

Detailed Description

LMDB Command Line Tools

The following describes the command line tools that are available for LMDB.

Macro Definition Documentation

◆ MDB_APPEND [1/2]

#define MDB_APPEND   0x20000

Data is being appended, don't split full pages.

Definition at line 345 of file lmdb.h.

◆ MDB_APPEND [2/2]

#define MDB_APPEND   0x20000

Data is being appended, don't split full pages.

Definition at line 345 of file lmdb.h.

◆ MDB_APPENDDUP [1/2]

#define MDB_APPENDDUP   0x40000

Duplicate data is being appended, don't split full pages.

Definition at line 347 of file lmdb.h.

◆ MDB_APPENDDUP [2/2]

#define MDB_APPENDDUP   0x40000

Duplicate data is being appended, don't split full pages.

Definition at line 347 of file lmdb.h.

◆ MDB_CURRENT [1/2]

#define MDB_CURRENT   0x40

For mdb_cursor_put: overwrite the current key/data pair.

Definition at line 339 of file lmdb.h.

◆ MDB_CURRENT [2/2]

#define MDB_CURRENT   0x40

For mdb_cursor_put: overwrite the current key/data pair.

Definition at line 339 of file lmdb.h.

◆ MDB_MULTIPLE [1/2]

#define MDB_MULTIPLE   0x80000

Store multiple data items in one call.

Only for MDB_DUPFIXED.

Definition at line 349 of file lmdb.h.

◆ MDB_MULTIPLE [2/2]

#define MDB_MULTIPLE   0x80000

Store multiple data items in one call.

Only for MDB_DUPFIXED.

Definition at line 349 of file lmdb.h.

◆ MDB_NODUPDATA [1/2]

#define MDB_NODUPDATA   0x20

Only for MDB_DUPSORT
For put: don't write if the key and data pair already exist.


For mdb_cursor_del: remove all duplicate data items.

Definition at line 337 of file lmdb.h.

◆ MDB_NODUPDATA [2/2]

#define MDB_NODUPDATA   0x20

Only for MDB_DUPSORT
For put: don't write if the key and data pair already exist.


For mdb_cursor_del: remove all duplicate data items.

Definition at line 337 of file lmdb.h.

◆ MDB_NOOVERWRITE [1/2]

#define MDB_NOOVERWRITE   0x10

For put: Don't write if the key already exists.

Definition at line 332 of file lmdb.h.

◆ MDB_NOOVERWRITE [2/2]

#define MDB_NOOVERWRITE   0x10

For put: Don't write if the key already exists.

Definition at line 332 of file lmdb.h.

◆ MDB_RESERVE [1/2]

#define MDB_RESERVE   0x10000

For put: Just reserve space for data, don't copy it.

Return a pointer to the reserved space.

Definition at line 343 of file lmdb.h.

◆ MDB_RESERVE [2/2]

#define MDB_RESERVE   0x10000

For put: Just reserve space for data, don't copy it.

Return a pointer to the reserved space.

Definition at line 343 of file lmdb.h.

Variable Documentation

◆ me_last_pgno

size_t MDB_envinfo::me_last_pgno

ID of the last used page.

Definition at line 470 of file lmdb.h.

Referenced by main(), mdb_env_info(), CWriteDB_TaxID::x_IncreaseEnvMapSize(), and CWriteDB_LMDB::x_IncreaseEnvMapSize().

◆ me_last_txnid

size_t MDB_envinfo::me_last_txnid

ID of the last committed transaction.

Definition at line 471 of file lmdb.h.

Referenced by main(), and mdb_env_info().

◆ me_mapaddr

void * MDB_envinfo::me_mapaddr

Address of map, if fixed.

Definition at line 468 of file lmdb.h.

Referenced by dumpit(), main(), mdb_env_info(), and readhdr().

◆ me_mapsize

size_t MDB_envinfo::me_mapsize

Size of the data memory map.

Definition at line 469 of file lmdb.h.

Referenced by dumpit(), main(), mdb_env_info(), readhdr(), CWriteDB_TaxID::x_IncreaseEnvMapSize(), and CWriteDB_LMDB::x_IncreaseEnvMapSize().

◆ me_maxreaders

unsigned int MDB_envinfo::me_maxreaders

max reader slots in the environment

Definition at line 472 of file lmdb.h.

Referenced by dumpit(), main(), mdb_env_info(), and readhdr().

◆ me_numreaders

unsigned int MDB_envinfo::me_numreaders

max reader slots used in the environment

Definition at line 473 of file lmdb.h.

Referenced by main(), and mdb_env_info().

◆ ms_branch_pages

size_t MDB_stat::ms_branch_pages

Number of internal (non-leaf) pages.

Definition at line 460 of file lmdb.h.

Referenced by mdb_stat0().

◆ ms_depth

unsigned int MDB_stat::ms_depth

Depth (height) of the B-tree.

Definition at line 459 of file lmdb.h.

Referenced by mdb_stat0().

◆ ms_entries

size_t MDB_stat::ms_entries

Number of data items.

Definition at line 463 of file lmdb.h.

Referenced by CSeqDBLMDB::GetVolumesInfo(), mdb_stat0(), and lmdb::dbi::size().

◆ ms_leaf_pages

size_t MDB_stat::ms_leaf_pages

Number of leaf pages.

Definition at line 461 of file lmdb.h.

Referenced by mdb_stat0().

◆ ms_overflow_pages

size_t MDB_stat::ms_overflow_pages

Number of overflow pages.

Definition at line 462 of file lmdb.h.

Referenced by mdb_stat0().

◆ ms_psize

unsigned int MDB_stat::ms_psize

Size of a database page.

This is currently the same for all databases.

Definition at line 457 of file lmdb.h.

Referenced by main(), mdb_stat0(), CWriteDB_TaxID::x_IncreaseEnvMapSize(), and CWriteDB_LMDB::x_IncreaseEnvMapSize().

◆ mv_data

void * MDB_val::mv_data

◆ mv_size

size_t MDB_val::mv_size
Modified on Fri Sep 20 14:57:02 2024 by modify_doxy.py rev. 669887