public interface Committer extends AutoCloseable
Committer is responsible for creating and committing an aggregated committable, which
we call committable (see combine(long, java.util.List<org.apache.flink.table.store.connector.sink.Committable>)).
The Committer runs with parallelism equal to 1.
| 限定符和类型 | 方法和说明 |
|---|---|
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> globalCommittables)
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.
|
closeList<org.apache.flink.table.store.file.manifest.ManifestCommittable> filterRecoveredCommittables(List<org.apache.flink.table.store.file.manifest.ManifestCommittable> globalCommittables) throws IOException
IOExceptionorg.apache.flink.table.store.file.manifest.ManifestCommittable combine(long checkpointId,
List<Committable> committables)
throws IOException
IOExceptionvoid commit(List<org.apache.flink.table.store.file.manifest.ManifestCommittable> globalCommittables) throws IOException, InterruptedException
ManifestCommittable.Copyright © 2019–2022 The Apache Software Foundation. All rights reserved.