18 return outcome::success();
23 return put(key, static_cast<const Buffer &>(value));
28 return outcome::success();
34 return outcome::success();
Class represents arbitrary (including empty) byte buffer.
rocksdb::WriteOptions wo_
outcome::result< void > remove(const BufferView &key) override
void clear() override
Clear batch.
DatabaseError status_as_error(const rocksdb::Status &s)
rocksdb::Slice make_slice(const common::BufferView &buf)
std::unique_ptr< rocksdb::DB > db_
outcome::result< void > commit() override
Writes batch.
outcome::result< void > put(const BufferView &key, const Buffer &value) override
rocksdb::WriteBatch batch_