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,
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 AutoCloseable
Exception
public void call(List<ManifestEntry> committedEntries, Snapshot snapshot)
call
in interface CommitCallback
public void retry(ManifestCommittable committable)
retry
in interface CommitCallback
public void notifyCreation(String tagName)
notifyCreation
in interface TagCallback
public void notifyCreation(String tagName, long snapshotId)
notifyCreation
in interface TagCallback
public void notifyDeletion(String tagName)
notifyDeletion
in interface TagCallback
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.