src/storage/face/batchable.hpp¶
Namespaces¶
| Name |
|---|
| sgns |
| sgns::storage |
| sgns::storage::face |
Classes¶
| Name | |
|---|---|
| struct | sgns::storage::face::Batchable A mixin for a map that supports batching for efficiency of modifications. |
Source code¶
#ifndef SUPERGENIUS_BATCHABLE_HPP
#define SUPERGENIUS_BATCHABLE_HPP
#include <memory>
#include "storage/face/write_batch.hpp"
namespace sgns::storage::face {
template <typename K, typename V>
struct Batchable {
virtual ~Batchable() = default;
virtual std::unique_ptr<WriteBatch<K, V>> batch() = 0;
};
} // namespace sgns::storage::face
#endif // SUPERGENIUS_BATCHABLE_HPP
Updated on 2026-03-04 at 13:10:45 -0800