Package io.delta.kernel.commit
Class PublishMetadata
Object
io.delta.kernel.commit.PublishMetadata
Metadata required for publishing catalog commits to the Delta log.
-
Constructor Summary
ConstructorsConstructorDescriptionPublishMetadata(long snapshotVersion, String logPath, List<ParsedCatalogCommitData> ascendingCatalogCommits) -
Method Summary
Modifier and TypeMethodDescriptionlong
-
Constructor Details
-
PublishMetadata
public PublishMetadata(long snapshotVersion, String logPath, List<ParsedCatalogCommitData> ascendingCatalogCommits)
-
-
Method Details
-
getSnapshotVersion
public long getSnapshotVersion()- Returns:
- the snapshot version up to which all catalog commits must be published
-
getLogPath
- Returns:
- the path to the Delta log directory, located at
<table_root>/_delta_log
-
getAscendingCatalogCommits
- Returns:
- the list of contiguous catalog commits to be published, in ascending order of version number
-