Class star::MetadataAccessor¶
ClassList > star > MetadataAccessor
Accessor for metadata operations. More...
#include <stards.h>
Public Functions¶
| Type | Name |
|---|---|
| MetadataAccessor (StarDataset * store) |
|
| void | clear () |
| bool | contains (const std::string & key) const |
| std::shared_ptr< MetadataValue > | get (const std::string & key) |
| std::map< std::string, MetadataValue > | get_all () |
| std::map< std::string, MetadataValue > | get_batch (const std::vector< std::string > & keys) |
| void | put (const std::string & key, const V & value) |
| void | put_batch (const std::map< std::string, V > & values) |
| void | remove (const std::string & key) |
Detailed Description¶
Provides explicit metadata API via store.meta.put() and store.meta.get() for clear intent when working with metadata block items.
Public Functions Documentation¶
function MetadataAccessor¶
function clear¶
function contains¶
function get¶
function get_all¶
function get_batch¶
inline std::map< std::string, MetadataValue > star::MetadataAccessor::get_batch (
const std::vector< std::string > & keys
)
function put¶
function put_batch¶
template<typename V>
void star::MetadataAccessor::put_batch (
const std::map< std::string, V > & values
)
function remove¶
The documentation for this class was generated from the following file StarDS/include/stards.h