Skip to content

Namespace mdbx

Namespace List > mdbx

The libmdbx C++ API namespace.

Namespaces

Type Name
namespace allocation_aware_details

Classes

Type Name
struct bad_map_id
Thrown on MDBX_BAD_DBI , i.e. an invalid table handle was used.
struct bad_transaction
Thrown on MDBX_BAD_TXN , i.e. a transaction handle is invalid or was used after being finished.
struct bad_value_size
Thrown on MDBX_BAD_VALSIZE , i.e. an unsupported size of a key or a data item.
class buffer <class ALLOCATOR, typename CAPACITY_POLICY>
The chunk of data stored inside the buffer or located outside it.
struct buffer_pair_spec <typename ALLOCATOR, typename CAPACITY_POLICY>
A pair of buffer instances for a key and a value, with the same allocator and capacity policy; the buffer counterpart ofpair .
struct buffer_tag
Type tag for delivered buffer template classes.
class cache_entry
Cache entry for the transparent read-your-writes caching, see txn::get_cached() andmdbx_cache_get() .
class cursor
Unmanaged cursor.
class cursor_managed
Managed cursor.
struct dangling_map_id
Thrown on MDBX_DANGLING_DBI , i.e. a table handle refers to a non-existent table.
struct db_corrupted
Thrown on MDBX_CORRUPTED , i.e. the database is corrupted or an invalid data was detected.
struct db_full
Thrown on MDBX_MAP_FULL , i.e. the database is full and the environment cannot be extended.
struct db_invalid
Thrown on MDBX_INVALID , i.e. an invalid parameter was specified or the environment is already closed.
struct db_too_large
Thrown on MDBX_TOO_LARGE , i.e. the database is too large for the current process/environment.
struct db_unable_extend
Thrown on MDBX_UNABLE_EXTEND_MAPSIZE , i.e. the requested geometry change needs the mapping to be re-created but it could not be applied right now.
struct db_version_mismatch
Thrown on MDBX_VERSION_MISMATCH , i.e. the database was created by an incompatible version of libmdbx.
struct db_wanna_write_for_recovery
Thrown on MDBX_WANNA_RECOVERY , i.e. the database requires recovery usingmdbx_chk and/ormdbx_env_open_for_recovery() .
struct default_capacity_policy
The default capacity policy for the buffer class: rounds the allocated capacity and advises whether to grow, keep or shrink it.
struct duplicated_lck_file
Thrown on MDBX_DUPLICATED_LCK , i.e. the lock file was created in a manner that conflicts with the current process' state.
class env
Unmanaged database environment.
class env_managed
Managed database environment.
class error
Implements error information and throwing corresponding exceptions.
class exception
Base class for all libmdbx's exceptions that correspond to libmdbx errors.
class exception_thunk
Transfers C++ exceptions thru C callbacks.
class fatal
Fatal exception that leads to termination anyway in dangerous unrecoverable cases.
struct from_base58
Base58 decoder which satisfySliceTranscoder concept.
struct from_base64
Base64 decoder which satisfySliceTranscoder concept.
struct from_hex
Hexadecimal decoder which satisfy SliceTranscoder concept.
struct incompatible_operation
Thrown on MDBX_INCOMPATIBLE , i.e. an operation is incompatible with the environment/table options.
struct internal_page_full
Thrown on MDBX_PAGE_FULL , i.e. an item does not fit into a page of the table.
struct internal_problem
Thrown on MDBX_PROBLEM , i.e. an unexpected internal problem was detected.
struct key_exists
Thrown on MDBX_KEYEXIST , i.e. the key/data pair already exists and_MDBX_NOOVERWRITE _was specified.
struct key_mismatch
Thrown on MDBX_EKEYMISMATCH , i.e. an insert with the append hint but the key is not the last one.
struct laggard_reader
Thrown on MDBX_LAGGARD_READER , i.e. the reader is lagging too much behind.
struct map_handle
A handle for an individual table (aka key-value space, maps or sub-database) in the environment.
struct max_maps_reached
Thrown on MDBX_DBS_FULL , i.e. the maximum number of table handles has been reached.
struct max_readers_reached
Thrown on MDBX_READERS_FULL , i.e. the environment's reader table is full.
struct multivalue
Thrown on MDBX_EMULTIVAL , i.e. the operation is not supported for the multi-value (dupsort) key.
struct mvcc_retarded
Thrown on MDBX_MVCC_RETARDED , i.e. the MVCC snapshot is retarded too much to continue.
struct no_data
Thrown on MDBX_ENODATA , i.e. the requested data is missing.
struct not_found
Thrown on MDBX_NOTFOUND , i.e. the requested key/data pair was not found.
struct operation_not_permitted
Thrown on MDBX_EPERM , i.e. the operation is not permitted in the current state/environment mode.
struct pair
Combines pair of slices for key and value to represent result of certain operations.
struct pair_result
Combines pair of slices for key and value with boolean flag to represent result of certain operations.
struct permission_denied_or_not_writeable
Thrown on MDBX_EACCESS , i.e. a permission was denied or the environment/data is not writable.
struct reader_slot_busy
Thrown on MDBX_BAD_RSLOT , i.e. a reader slot is invalid or busy.
struct remote_media
Thrown on MDBX_EREMOTE , i.e. a file/locking system call failed for the reason that could not be diagnosed.
struct slice
References a data located outside the slice.
struct something_busy
Thrown on MDBX_BUSY , i.e. some resource is busy by another thread or process.
struct thread_mismatch
Thrown on MDBX_THREAD_MISMATCH , i.e. the transaction/cursor is used by an alien thread.
struct to_base58
Base58 encoder which satisfySliceTranscoder concept.
struct to_base64
Base64 encoder which satisfySliceTranscoder concept.
struct to_hex
Hexadecimal encoder which satisfy SliceTranscoder concept.
struct transaction_full
Thrown on MDBX_TXN_FULL , i.e. the transaction has too many dirty pages and cannot be continued.
struct transaction_ousted
Thrown on MDBX_OUSTED , i.e. the current write transaction was ousted by a newer one.
struct transaction_overlapping
Thrown on MDBX_TXN_OVERLAPPING , i.e. a write transaction was started while another one is in progress by the same process.
class txn
Unmanaged database transaction.
class txn_managed
Managed database transaction.
struct value_result
Combines data slice with boolean flag to represent result of certain operations.

The documentation for this class was generated from the following file mdbx.h++