Package io.delta.storage.commit.uniform
Class IcebergMetadata
Object
io.delta.storage.commit.uniform.IcebergMetadata
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 Summary
ConstructorsConstructorDescriptionIcebergMetadata(String metadataLocation, long convertedDeltaVersion, String convertedDeltaTimestamp) Constructs IcebergMetadata with the specified conversion details. -
Method Summary
Modifier and TypeMethodDescriptionReturns the timestamp when the conversion occurred.longReturns the Delta version that was converted to Iceberg.Returns the Iceberg metadata file location.
-
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
Returns the Iceberg metadata file location. -
getConvertedDeltaVersion
public long getConvertedDeltaVersion()Returns the Delta version that was converted to Iceberg. -
getConvertedDeltaTimestamp
Returns the timestamp when the conversion occurred.
-