#include <kv_executor.h>
|
| virtual void | Set (const std::string &key, const std::string &value) |
| |
| std::string | Get (const std::string &key) |
| |
| std::string | GetAllValues () |
| |
| std::string | GetRange (const std::string &min_key, const std::string &max_key) |
| |
| void | SetWithVersion (const std::string &key, const std::string &value, int version) |
| |
| void | GetWithVersion (const std::string &key, int version, ValueInfo *info) |
| |
| void | GetAllItems (Items *items) |
| |
| void | GetKeyRange (const std::string &min_key, const std::string &max_key, Items *items) |
| |
| void | GetHistory (const std::string &key, int min_key, int max_key, Items *items) |
| |
| void | GetTopHistory (const std::string &key, int top_number, Items *items) |
| |
Definition at line 32 of file kv_executor.h.
◆ KVExecutor()
| resdb::KVExecutor::KVExecutor |
( |
std::unique_ptr< Storage > |
storage | ) |
|
◆ ~KVExecutor()
| virtual resdb::KVExecutor::~KVExecutor |
( |
| ) |
|
|
virtualdefault |
◆ ExecuteData()
| std::unique_ptr< std::string > resdb::KVExecutor::ExecuteData |
( |
const std::string & |
request | ) |
|
|
overridevirtual |
◆ Get()
| std::string resdb::KVExecutor::Get |
( |
const std::string & |
key | ) |
|
|
protected |
◆ GetAllItems()
| void resdb::KVExecutor::GetAllItems |
( |
Items * |
items | ) |
|
|
protected |
◆ GetAllValues()
| std::string resdb::KVExecutor::GetAllValues |
( |
| ) |
|
|
protected |
◆ GetHistory()
| void resdb::KVExecutor::GetHistory |
( |
const std::string & |
key, |
|
|
int |
min_key, |
|
|
int |
max_key, |
|
|
Items * |
items |
|
) |
| |
|
protected |
◆ GetKeyRange()
| void resdb::KVExecutor::GetKeyRange |
( |
const std::string & |
min_key, |
|
|
const std::string & |
max_key, |
|
|
Items * |
items |
|
) |
| |
|
protected |
◆ GetRange()
| std::string resdb::KVExecutor::GetRange |
( |
const std::string & |
min_key, |
|
|
const std::string & |
max_key |
|
) |
| |
|
protected |
◆ GetTopHistory()
| void resdb::KVExecutor::GetTopHistory |
( |
const std::string & |
key, |
|
|
int |
top_number, |
|
|
Items * |
items |
|
) |
| |
|
protected |
◆ GetWithVersion()
| void resdb::KVExecutor::GetWithVersion |
( |
const std::string & |
key, |
|
|
int |
version, |
|
|
ValueInfo * |
info |
|
) |
| |
|
protected |
◆ Set()
| void resdb::KVExecutor::Set |
( |
const std::string & |
key, |
|
|
const std::string & |
value |
|
) |
| |
|
protectedvirtual |
◆ SetWithVersion()
| void resdb::KVExecutor::SetWithVersion |
( |
const std::string & |
key, |
|
|
const std::string & |
value, |
|
|
int |
version |
|
) |
| |
|
protected |