public class JdbcSourceReader extends Object implements SourceReader<SeaTunnelRow,JdbcSourceSplit>
SourceReader.Context| 构造器和说明 |
|---|
JdbcSourceReader(SourceReader.Context context,
JdbcSourceConfig config,
Map<TablePath,CatalogTable> tables) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addSplits(List<JdbcSourceSplit> splits) |
void |
close() |
void |
handleNoMoreSplits() |
void |
notifyCheckpointComplete(long checkpointId) |
void |
open() |
void |
pollNext(Collector<SeaTunnelRow> output) |
List<JdbcSourceSplit> |
snapshotState(long checkpointId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleSourceEventnotifyCheckpointAbortedpublic JdbcSourceReader(SourceReader.Context context, JdbcSourceConfig config, Map<TablePath,CatalogTable> tables)
public void open()
throws Exception
open 在接口中 SourceReader<SeaTunnelRow,JdbcSourceSplit>Exceptionpublic void close()
throws IOException
close 在接口中 AutoCloseableclose 在接口中 SourceReader<SeaTunnelRow,JdbcSourceSplit>IOExceptionpublic void pollNext(Collector<SeaTunnelRow> output) throws Exception
pollNext 在接口中 SourceReader<SeaTunnelRow,JdbcSourceSplit>Exceptionpublic List<JdbcSourceSplit> snapshotState(long checkpointId) throws Exception
snapshotState 在接口中 SourceReader<SeaTunnelRow,JdbcSourceSplit>Exceptionpublic void addSplits(List<JdbcSourceSplit> splits)
addSplits 在接口中 SourceReader<SeaTunnelRow,JdbcSourceSplit>public void handleNoMoreSplits()
public void notifyCheckpointComplete(long checkpointId)
throws Exception
notifyCheckpointComplete 在接口中 CheckpointListenerExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.