|
OXY API 1.0
OXY API Library Documentation
|
Interface for storage operations in the OXY-API. More...
#include <storage.hpp>
Public Member Functions | |
| virtual void | close ()=0 |
| virtual maybe< commit_t > | get_commit () const =0 |
| virtual connection_ptr | get_connection () const =0 |
| virtual maybe< oid_t > | get_head () const =0 |
| virtual index_t const & | get_index () const =0 |
| virtual std::string | get_name () const =0 |
Interface for storage operations in the OXY-API.
This interface defines the essential operations for interacting with a storage system in the oxy API. It provides methods to retrieve the underlying container connection, get the current commit, access the head commit, retrieve the index, get the storage name, and close the storage. Implementations of this interface should provide concrete behavior for these operations.