#include <rocksdb.h>
|
| | ResRocksDB (std::optional< RocksDBInfo > config_data=std::nullopt) |
| |
| virtual | ~ResRocksDB () |
| |
| 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 rocksdb.h.
◆ ResRocksDB()
| resdb::storage::ResRocksDB::ResRocksDB |
( |
std::optional< RocksDBInfo > |
config_data = std::nullopt | ) |
|
◆ ~ResRocksDB()
| resdb::storage::ResRocksDB::~ResRocksDB |
( |
| ) |
|
|
virtual |
◆ Flush()
| bool resdb::storage::ResRocksDB::Flush |
( |
| ) |
|
|
overridevirtual |
◆ GetAllItems()
| std::map< std::string, std::pair< std::string, int > > resdb::storage::ResRocksDB::GetAllItems |
( |
| ) |
|
|
overridevirtual |
◆ GetAllValues()
| std::string resdb::storage::ResRocksDB::GetAllValues |
( |
void |
| ) |
|
|
overridevirtual |
◆ GetHistory()
| std::vector< std::pair< std::string, int > > resdb::storage::ResRocksDB::GetHistory |
( |
const std::string & |
key, |
|
|
int |
min_version, |
|
|
int |
max_version |
|
) |
| |
|
overridevirtual |
◆ GetKeyRange()
| std::map< std::string, std::pair< std::string, int > > resdb::storage::ResRocksDB::GetKeyRange |
( |
const std::string & |
min_key, |
|
|
const std::string & |
max_key |
|
) |
| |
|
overridevirtual |
◆ GetRange()
| std::string resdb::storage::ResRocksDB::GetRange |
( |
const std::string & |
min_key, |
|
|
const std::string & |
max_key |
|
) |
| |
|
overridevirtual |
◆ GetTopHistory()
| std::vector< std::pair< std::string, int > > resdb::storage::ResRocksDB::GetTopHistory |
( |
const std::string & |
key, |
|
|
int |
top_number |
|
) |
| |
|
overridevirtual |
◆ GetValue()
| std::string resdb::storage::ResRocksDB::GetValue |
( |
const std::string & |
key | ) |
|
|
overridevirtual |
◆ GetValueWithVersion()
| std::pair< std::string, int > resdb::storage::ResRocksDB::GetValueWithVersion |
( |
const std::string & |
key, |
|
|
int |
version |
|
) |
| |
|
overridevirtual |
◆ SetValue()
| int resdb::storage::ResRocksDB::SetValue |
( |
const std::string & |
key, |
|
|
const std::string & |
value |
|
) |
| |
|
overridevirtual |
◆ SetValueWithVersion()
| int resdb::storage::ResRocksDB::SetValueWithVersion |
( |
const std::string & |
key, |
|
|
const std::string & |
value, |
|
|
int |
version |
|
) |
| |
|
overridevirtual |