iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | List of all members
iceberg::InheritableMetadata Class Referenceabstract

Interface for applying inheritable metadata to manifest entries. More...

#include <inheritable_metadata.h>

Inheritance diagram for iceberg::InheritableMetadata:
iceberg::BaseInheritableMetadata iceberg::CopyInheritableMetadata iceberg::EmptyInheritableMetadata

Public Member Functions

virtual Status Apply (ManifestEntry &entry)=0
 Apply inheritable metadata to a manifest entry.
 

Detailed Description

Interface for applying inheritable metadata to manifest entries.

When manifest entries have null values for certain fields (snapshot id, data sequence number, file sequence number), these values should be inherited from the manifest file. This interface provides a way to apply such inheritance rules.

Member Function Documentation

◆ Apply()

virtual Status iceberg::InheritableMetadata::Apply ( ManifestEntry entry)
pure virtual

Apply inheritable metadata to a manifest entry.

Parameters
entryThe manifest entry to modify.
Returns
Status indicating success or failure.

Implemented in iceberg::BaseInheritableMetadata, iceberg::EmptyInheritableMetadata, and iceberg::CopyInheritableMetadata.


The documentation for this class was generated from the following files: