src/storage/face/write_batch.hpp¶
Namespaces¶
| Name |
|---|
| sgns |
| sgns::storage |
| sgns::storage::face |
Classes¶
| Name | |
|---|---|
| struct | sgns::storage::face::WriteBatch An abstraction over a storage, which can be used for batch writes. |
Source code¶
#ifndef SUPERGENIUS_WRITE_BATCH_HPP
#define SUPERGENIUS_WRITE_BATCH_HPP
#include "storage/face/writeable.hpp"
namespace sgns::storage::face {
template <typename K, typename V>
struct WriteBatch : public Writeable<K, V> {
virtual outcome::result<void> commit() = 0;
virtual void clear() = 0;
};
} // namespace sgns::storage::face
#endif // SUPERGENIUS_WRITE_BATCH_HPP
Updated on 2026-03-04 at 13:10:45 -0800