public class IcebergCommitCallback extends Object implements CommitCallback, TagCallback
CommitCallback to create Iceberg compatible metadata, so Iceberg readers can read
Paimon's RawFile.| Constructor and Description |
|---|
IcebergCommitCallback(FileStoreTable table,
String commitUser) |
| Modifier and Type | Method and Description |
|---|---|
void |
call(List<ManifestEntry> committedEntries,
List<IndexManifestEntry> indexFiles,
Snapshot snapshot) |
static Path |
catalogDatabasePath(FileStoreTable table) |
static Path |
catalogTableMetadataPath(FileStoreTable table) |
void |
close() |
void |
notifyCreation(String tagName) |
void |
notifyCreation(String tagName,
long snapshotId) |
void |
notifyDeletion(String tagName) |
void |
retry(ManifestCommittable committable) |
public IcebergCommitCallback(FileStoreTable table, String commitUser)
public static Path catalogTableMetadataPath(FileStoreTable table)
public static Path catalogDatabasePath(FileStoreTable table)
public void close()
throws Exception
close in interface AutoCloseableExceptionpublic void call(List<ManifestEntry> committedEntries, List<IndexManifestEntry> indexFiles, Snapshot snapshot)
call in interface CommitCallbackpublic void retry(ManifestCommittable committable)
retry in interface CommitCallbackpublic void notifyCreation(String tagName)
notifyCreation in interface TagCallbackpublic void notifyCreation(String tagName, long snapshotId)
notifyCreation in interface TagCallbackpublic void notifyDeletion(String tagName)
notifyDeletion in interface TagCallbackCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.