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