#include "key_value_storage.hpp"
◆ Bytes
◆ Identifier
◆ ~KeyValueStorage()
| virtual iroha::ametsuchi::KeyValueStorage::~KeyValueStorage |
( |
| ) |
|
|
virtualdefault |
◆ add()
| virtual bool iroha::ametsuchi::KeyValueStorage::add |
( |
Identifier |
id, |
|
|
const Bytes & |
blob |
|
) |
| |
|
pure virtual |
Add entity with binary data
- Parameters
-
| id | - reference key |
| blob | - data associated with key |
Implemented in iroha::ametsuchi::FlatFile.
◆ directory()
| virtual std::string iroha::ametsuchi::KeyValueStorage::directory |
( |
| ) |
const |
|
pure virtual |
◆ dropAll()
| virtual void iroha::ametsuchi::KeyValueStorage::dropAll |
( |
| ) |
|
|
pure virtual |
◆ get()
| virtual boost::optional<Bytes> iroha::ametsuchi::KeyValueStorage::get |
( |
Identifier |
id | ) |
const |
|
pure virtual |
◆ last_id()
| virtual Identifier iroha::ametsuchi::KeyValueStorage::last_id |
( |
| ) |
const |
|
pure virtual |
◆ reload()
| virtual void iroha::ametsuchi::KeyValueStorage::reload |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: