Skip to content

sgns::storage::face::BatchWriteMap

An abstraction over a writeable key-value map with batching support. More...

#include <generic_maps.hpp>

Inherits from sgns::storage::face::Writeable< K, V >, sgns::storage::face::Batchable< K, V >

Inherited by sgns::storage::face::GenericStorage< K, V >

Additional inherited members

Public Functions inherited from sgns::storage::face::Writeable< K, V >

Name
virtual ~Writeable() =default
virtual outcome::result< void > put(const K & key, const V & value) =0
Store value by key.
virtual outcome::result< void > put(const K & key, V && value) =0
virtual outcome::result< void > remove(const K & key) =0
Remove value by key.

Public Functions inherited from sgns::storage::face::Batchable< K, V >

Name
virtual ~Batchable() =default
virtual std::unique_ptr< WriteBatch< K, V > > batch() =0
Creates new Write Batch - an object, which can be used to efficiently write bulk data.

Detailed Description

template <typename K ,
typename V >
struct sgns::storage::face::BatchWriteMap;

An abstraction over a writeable key-value map with batching support.

Template Parameters:

  • K key type
  • V value type

Updated on 2026-04-15 at 11:00:39 -0700