|
| LMDBReadTransaction (LMDBEnvironment::SharedPtr env) |
|
| LMDBReadTransaction (const LMDBReadTransaction &other)=delete |
|
| LMDBReadTransaction (LMDBReadTransaction &&other)=delete |
|
LMDBReadTransaction & | operator= (const LMDBReadTransaction &other)=delete |
|
LMDBReadTransaction & | operator= (LMDBReadTransaction &&other)=delete |
|
| ~LMDBReadTransaction () override |
|
| LMDBTransaction (LMDBEnvironment::SharedPtr env, bool readOnly=false) |
|
| LMDBTransaction (const LMDBTransaction &other)=delete |
|
| LMDBTransaction (LMDBTransaction &&other)=delete |
|
LMDBTransaction & | operator= (const LMDBTransaction &other)=delete |
|
LMDBTransaction & | operator= (LMDBTransaction &&other)=delete |
|
virtual | ~LMDBTransaction ()=0 |
|
MDB_txn * | underlying () const |
|
uint64_t | id () const |
|
virtual void | abort () |
|
template<typename T , typename K > |
bool | get_value_or_previous (T &key, K &data, const LMDBDatabase &db, const std::function< bool(const MDB_val &)> &is_valid) const |
|
template<typename T , typename K > |
bool | get_value_or_previous (T &key, K &data, const LMDBDatabase &db) const |
|
template<typename T , typename K > |
bool | get_value_or_greater (T &key, K &data, const LMDBDatabase &db) const |
|
template<typename T > |
bool | get_value (T &key, std::vector< uint8_t > &data, const LMDBDatabase &db) const |
|
template<typename T > |
bool | get_value (T &key, uint64_t &data, const LMDBDatabase &db) const |
|
template<typename T > |
void | get_all_values_greater_or_equal_key (const T &key, std::vector< std::vector< uint8_t > > &data, const LMDBDatabase &db) const |
|
template<typename T > |
void | get_all_values_lesser_or_equal_key (const T &key, std::vector< std::vector< uint8_t > > &data, const LMDBDatabase &db) const |
|
bool | get_value (std::vector< uint8_t > &key, std::vector< uint8_t > &data, const LMDBDatabase &db) const |
|
bool | get_value (std::vector< uint8_t > &key, uint64_t &data, const LMDBDatabase &db) const |
|
RAII wrapper around a read transaction. Contains various methods for retrieving values by their keys. Aborts the transaction upon object destruction.
Definition at line 22 of file lmdb_read_transaction.hpp.