4.8. Metadata Management¶
Todo
Metadata may be associated with:
the job,
data families,
data cells,
data products,
… and may be either generated by the framework or provided by user code.
4.8.1. Handle-accessible provenance and metadata¶
A data-product handle must provide access to one and only one data product.
A constructed handle object is always valid; access to the data product is guaranteed upon successful construction.
Handles should not be default-constructible, because a default-constructed handle would not be valid.
It is always safe to dereference a handle, because they are always valid.
The data product itself should be accessible through the handle.
The index of the data cell to which the product belongs should be accessible through the handle.
The data-product concept modeled by the concrete data-product type should be accessible through the handle.
The creator name should be accessible through the handle, including:
algorithm name
module name in which the algorithm was registered
The product suffix should be accessible through the handle.
The stage name should be accessible through the handle.
Users should not explicitly invoke anything that creates a handle; the framework creates handles as needed.