Class IcebergMetadata

Object
io.delta.storage.commit.uniform.IcebergMetadata

public class IcebergMetadata extends Object
Metadata for Delta Uniform Iceberg conversion.

This class contains information about the latest Iceberg conversion for a Delta table, which is sent to Unity Catalog to track the Iceberg metadata state.

  • Constructor Details

    • IcebergMetadata

      public IcebergMetadata(String metadataLocation, long convertedDeltaVersion, String convertedDeltaTimestamp)
      Constructs IcebergMetadata with the specified conversion details.
      Parameters:
      metadataLocation - The Iceberg metadata file location (e.g., "s3://bucket/metadata/v1.json")
      convertedDeltaVersion - The Delta version that was converted (e.g., 1044)
      convertedDeltaTimestamp - The timestamp of the conversion (e.g., "2025-01-04T03:13:11.423")
  • Method Details

    • getMetadataLocation

      public String getMetadataLocation()
      Returns the Iceberg metadata file location.
    • getConvertedDeltaVersion

      public long getConvertedDeltaVersion()
      Returns the Delta version that was converted to Iceberg.
    • getConvertedDeltaTimestamp

      public String getConvertedDeltaTimestamp()
      Returns the timestamp when the conversion occurred.