类 FlinkCommitter<CommT>
- java.lang.Object
-
- org.apache.seatunnel.translation.flink.sink.FlinkCommitter<CommT>
-
- 类型参数:
CommT- The generic type of commit message
- 所有已实现的接口:
AutoCloseable,org.apache.flink.api.connector.sink.Committer<CommitWrapper<CommT>>
public class FlinkCommitter<CommT> extends Object implements org.apache.flink.api.connector.sink.Committer<CommitWrapper<CommT>>
The committer wrapper ofSinkCommitter, which is created bySink.createCommitter(), used to unify the different sink committer implementations
-
-
方法详细资料
-
commit
public List<CommitWrapper<CommT>> commit(List<CommitWrapper<CommT>> committables) throws IOException
- 指定者:
commit在接口中org.apache.flink.api.connector.sink.Committer<CommT>- 抛出:
IOException
-
close
public void close() throws Exception- 指定者:
close在接口中AutoCloseable- 抛出:
Exception
-
-