Go to the source code of this file.
|
| #define | N_DB 10 |
| #define | DEFAULT_MAPSIZE 1<<31 |
| #define | ENV_DIR_MODE 0750 |
| #define | ENV_FILE_MODE 0640 |
| #define | DUPSORT_MASK MDB_DUPSORT |
| #define | DUPFIXED_MASK MDB_DUPSORT | MDB_DUPFIXED |
| #define | MAIN_TABLE |
| #define | LOOKUP_TABLE |
| #define | ENTRY(a, b, c) |
| #define | ENTRY(a, b, c) |
| #define | ENTRY(a, b, c) |
| #define | ENTRY(a, b, c) |
| #define | ENTRY(a, b, c) |
◆ N_DB
Number of DBs defined. See MAIN_TABLE and LOOKUP_TABLE defines below.
Definition at line 6 of file store_mdb.c.
◆ DEFAULT_MAPSIZE
| #define DEFAULT_MAPSIZE 1<<31 |
◆ ENV_DIR_MODE
| #define ENV_DIR_MODE 0750 |
◆ ENV_FILE_MODE
| #define ENV_FILE_MODE 0640 |
◆ DUPSORT_MASK
| #define DUPSORT_MASK MDB_DUPSORT |
◆ DUPFIXED_MASK
| #define DUPFIXED_MASK MDB_DUPSORT | MDB_DUPFIXED |
◆ MAIN_TABLE
Value: \
ENTRY( T_ST, "t:st", 0 ) \
ENTRY( IDK_ID, "idk:id", 0 ) \
Main DBs. These are the master information containers.
The number of entries must match the N_DB constant defined above.
Definition at line 110 of file store_mdb.c.
◆ LOOKUP_TABLE
Value:Lookup DBs. These are indices and may be destroyed and rebuilt.
Definition at line 119 of file store_mdb.c.
◆ ENTRY [1/5]
| #define ENTRY |
( |
| a, |
|
|
| b, |
|
|
| c ) |
Value:DB labels. They are prefixed with DB_
Definition at line 132 of file store_mdb.c.
◆ ENTRY [2/5]
| #define ENTRY |
( |
| a, |
|
|
| b, |
|
|
| c ) |
Value:DB labels. They are prefixed with DB_
Definition at line 132 of file store_mdb.c.
◆ ENTRY [3/5]
| #define ENTRY |
( |
| a, |
|
|
| b, |
|
|
| c ) |
Value:DB labels. They are prefixed with DB_
Definition at line 132 of file store_mdb.c.
◆ ENTRY [4/5]
| #define ENTRY |
( |
| a, |
|
|
| b, |
|
|
| c ) |
Value:DB labels. They are prefixed with DB_
Definition at line 132 of file store_mdb.c.
◆ ENTRY [5/5]
| #define ENTRY |
( |
| a, |
|
|
| b, |
|
|
| c ) |
Value:DB labels. They are prefixed with DB_
Definition at line 132 of file store_mdb.c.
◆ DbLabel
◆ MDBIterator
| typedef struct mdbstore_iter_t MDBIterator |
◆ iter_op_fn_t
Iterator operation.
Function executed for each iteration of a MDBIterator. It assumes that a result triple has already been found and is ready to be composed and yielded.
Upon call, the rc value of the iterator structure is set to the MDB_* rc value for the next result. It is up to the caller to evaluate this value and decide whether to call the function again.
Definition at line 70 of file store_mdb.c.
◆ StoreFlags
Store state flags.
| Enumerator |
|---|
| LSSTORE_OPEN | Env is open.
|
Definition at line 31 of file store_mdb.c.
◆ IterFlags
Iterator state flags.
| Enumerator |
|---|
| ITER_OPEN_TXN | A transaction is open. The iterator has begun a new
transaction on initialization
which needs to be closed. If
false, the iterator is using an
existing transaction which will
not be closed with
#mdbiter_free().
|
Definition at line 36 of file store_mdb.c.
◆ StoreOp
| Enumerator |
|---|
| OP_ADD | |
| OP_REMOVE | |
Definition at line 49 of file store_mdb.c.
◆ DBIdx
◆ mdbstore_id()
| char * mdbstore_id |
( |
const void * | h | ) |
|
◆ mdbstore_ctx_list()
| VOLK_Buffer ** mdbstore_ctx_list |
( |
void * | h, |
|
|
void * | th ) |
◆ mdbstore_int