#include <leveldb.h>
|
| | ResLevelDB (std::optional< LevelDBInfo > config_data=std::nullopt) |
| |
| virtual | ~ResLevelDB () |
| |
| int | SetValue (const std::string &key, const std::string &value) override |
| |
| std::string | GetValue (const std::string &key) override |
| |
| std::string | GetAllValues (void) 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 top_number) override |
| |
| bool | Flush () override |
| |
| | Storage ()=default |
| |
| virtual | ~Storage ()=default |
| |
Definition at line 39 of file leveldb.h.
◆ ResLevelDB()
| resdb::storage::ResLevelDB::ResLevelDB |
( |
std::optional< LevelDBInfo > |
config_data = std::nullopt | ) |
|
◆ ~ResLevelDB()
| resdb::storage::ResLevelDB::~ResLevelDB |
( |
| ) |
|
|
virtual |
◆ Flush()
| bool resdb::storage::ResLevelDB::Flush |
( |
| ) |
|
|
overridevirtual |
◆ GetAllItems()
| std::map< std::string, std::pair< std::string, int > > resdb::storage::ResLevelDB::GetAllItems |
( |
| ) |
|
|
overridevirtual |
◆ GetAllValues()
| std::string resdb::storage::ResLevelDB::GetAllValues |
( |
void |
| ) |
|
|
overridevirtual |
◆ GetHistory()
| std::vector< std::pair< std::string, int > > resdb::storage::ResLevelDB::GetHistory |
( |
const std::string & |
key, |
|
|
int |
min_version, |
|
|
int |
max_version |
|
) |
| |
|
overridevirtual |
◆ GetKeyRange()
| std::map< std::string, std::pair< std::string, int > > resdb::storage::ResLevelDB::GetKeyRange |
( |
const std::string & |
min_key, |
|
|
const std::string & |
max_key |
|
) |
| |
|
overridevirtual |
◆ GetRange()
| std::string resdb::storage::ResLevelDB::GetRange |
( |
const std::string & |
min_key, |
|
|
const std::string & |
max_key |
|
) |
| |
|
overridevirtual |
◆ GetTopHistory()
| std::vector< std::pair< std::string, int > > resdb::storage::ResLevelDB::GetTopHistory |
( |
const std::string & |
key, |
|
|
int |
top_number |
|
) |
| |
|
overridevirtual |
◆ GetValue()
| std::string resdb::storage::ResLevelDB::GetValue |
( |
const std::string & |
key | ) |
|
|
overridevirtual |
◆ GetValueWithVersion()
| std::pair< std::string, int > resdb::storage::ResLevelDB::GetValueWithVersion |
( |
const std::string & |
key, |
|
|
int |
version |
|
) |
| |
|
overridevirtual |
◆ SetValue()
| int resdb::storage::ResLevelDB::SetValue |
( |
const std::string & |
key, |
|
|
const std::string & |
value |
|
) |
| |
|
overridevirtual |
◆ SetValueWithVersion()
| int resdb::storage::ResLevelDB::SetValueWithVersion |
( |
const std::string & |
key, |
|
|
const std::string & |
value, |
|
|
int |
version |
|
) |
| |
|
overridevirtual |