#include <memory_db.h>
Public Member Functions | |
| MemoryDB () | |
| int | SetValue (const std::string &key, const std::string &value) |
| std::string | GetValue (const std::string &key) |
| std::string | GetAllValues () override |
| std::string | GetRange (const std::string &min_key, const std::string &max_key) override |
| int | SetValueWithVersion (const std::string &key, const std::string &value, int version) override |
| std::pair< std::string, int > | GetValueWithVersion (const std::string &key, int version) override |
| std::map< std::string, std::pair< std::string, int > > | GetAllItems () override |
| std::map< std::string, std::pair< std::string, int > > | GetKeyRange (const std::string &min_key, const std::string &max_key) override |
| std::vector< std::pair< std::string, int > > | GetHistory (const std::string &key, int min_version, int max_version) override |
| std::vector< std::pair< std::string, int > > | GetTopHistory (const std::string &key, int number) override |
Public Member Functions inherited from resdb::Storage | |
| Storage ()=default | |
| virtual | ~Storage ()=default |
| virtual bool | Flush () |
Definition at line 52 of file memory_db.h.
| resdb::storage::MemoryDB::MemoryDB | ( | ) |
Definition at line 29 of file memory_db.cpp.
|
overridevirtual |
Implements resdb::Storage.
Definition at line 108 of file memory_db.cpp.
|
overridevirtual |
Implements resdb::Storage.
Definition at line 36 of file memory_db.cpp.
|
overridevirtual |
Implements resdb::Storage.
Definition at line 129 of file memory_db.cpp.
|
overridevirtual |
Implements resdb::Storage.
Definition at line 117 of file memory_db.cpp.
|
overridevirtual |
Implements resdb::Storage.
Definition at line 48 of file memory_db.cpp.
|
overridevirtual |
Implements resdb::Storage.
Definition at line 150 of file memory_db.cpp.
|
virtual |
Implements resdb::Storage.
Definition at line 63 of file memory_db.cpp.
|
overridevirtual |
Implements resdb::Storage.
Definition at line 86 of file memory_db.cpp.
|
virtual |
Implements resdb::Storage.
Definition at line 31 of file memory_db.cpp.
|
overridevirtual |
Implements resdb::Storage.
Definition at line 72 of file memory_db.cpp.