iceberg-cpp
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
iceberg::InheritableMetadataFactory Class Reference

Factory for creating InheritableMetadata instances. More...

#include <inheritable_metadata.h>

Static Public Member Functions

static Result< std::unique_ptr< InheritableMetadata > > Empty ()
 Create an empty metadata instance that applies no inheritance.
 
static Result< std::unique_ptr< InheritableMetadata > > FromManifest (const ManifestFile &manifest)
 Create metadata instance from a manifest file.
 
static Result< std::unique_ptr< InheritableMetadata > > ForCopy (int64_t snapshot_id)
 Create metadata instance for rewriting a manifest before commit.
 

Detailed Description

Factory for creating InheritableMetadata instances.

Member Function Documentation

◆ ForCopy()

Result< std::unique_ptr< InheritableMetadata > > iceberg::InheritableMetadataFactory::ForCopy ( int64_t  snapshot_id)
static

Create metadata instance for rewriting a manifest before commit.

Parameters
snapshot_idThe snapshot ID for the copy operation.
Returns
Inheritable metadata for copying.

◆ FromManifest()

Result< std::unique_ptr< InheritableMetadata > > iceberg::InheritableMetadataFactory::FromManifest ( const ManifestFile manifest)
static

Create metadata instance from a manifest file.

Parameters
manifestThe manifest file to extract metadata from.
Returns
Inheritable metadata based on the manifest.

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