public class JdbcSinkAggregatedCommitter extends Object implements SinkAggregatedCommitter<XidInfo,JdbcAggregatedCommitInfo>
| 构造器和说明 |
|---|
JdbcSinkAggregatedCommitter(JdbcSinkConfig jdbcSinkConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
abort(List<JdbcAggregatedCommitInfo> aggregatedCommitInfo) |
void |
close() |
JdbcAggregatedCommitInfo |
combine(List<XidInfo> commitInfos) |
List<JdbcAggregatedCommitInfo> |
commit(List<JdbcAggregatedCommitInfo> aggregatedCommitInfos) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinit, restoreCommitpublic JdbcSinkAggregatedCommitter(JdbcSinkConfig jdbcSinkConfig)
public List<JdbcAggregatedCommitInfo> commit(List<JdbcAggregatedCommitInfo> aggregatedCommitInfos) throws IOException
commit 在接口中 SinkAggregatedCommitter<XidInfo,JdbcAggregatedCommitInfo>IOExceptionpublic JdbcAggregatedCommitInfo combine(List<XidInfo> commitInfos)
public void abort(List<JdbcAggregatedCommitInfo> aggregatedCommitInfo) throws IOException
abort 在接口中 SinkAggregatedCommitter<XidInfo,JdbcAggregatedCommitInfo>IOExceptionpublic void close()
throws IOException
close 在接口中 SinkAggregatedCommitter<XidInfo,JdbcAggregatedCommitInfo>IOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.