public class StoreCommitter extends Object implements Committer
Committer for dynamic store.| 构造器和说明 |
|---|
StoreCommitter(org.apache.flink.table.store.table.sink.TableCommit commit) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
org.apache.flink.table.store.file.manifest.ManifestCommittable |
combine(long checkpointId,
List<Committable> committables)
Compute an aggregated committable from a list of committables.
|
void |
commit(List<org.apache.flink.table.store.file.manifest.ManifestCommittable> committables)
Commits the given
ManifestCommittable. |
List<org.apache.flink.table.store.file.manifest.ManifestCommittable> |
filterRecoveredCommittables(List<org.apache.flink.table.store.file.manifest.ManifestCommittable> globalCommittables)
Find out which global committables need to be retried when recovering from the failure.
|
public StoreCommitter(org.apache.flink.table.store.table.sink.TableCommit commit)
public List<org.apache.flink.table.store.file.manifest.ManifestCommittable> filterRecoveredCommittables(List<org.apache.flink.table.store.file.manifest.ManifestCommittable> globalCommittables)
CommitterfilterRecoveredCommittables 在接口中 Committerpublic org.apache.flink.table.store.file.manifest.ManifestCommittable combine(long checkpointId,
List<Committable> committables)
Committerpublic void commit(List<org.apache.flink.table.store.file.manifest.ManifestCommittable> committables) throws IOException, InterruptedException
CommitterManifestCommittable.commit 在接口中 CommitterIOExceptionInterruptedExceptionpublic void close()
throws Exception
close 在接口中 AutoCloseableExceptionCopyright © 2019–2022 The Apache Software Foundation. All rights reserved.