类 NoMoreElementEvent
- java.lang.Object
-
- org.apache.seatunnel.translation.flink.source.NoMoreElementEvent
-
- 所有已实现的接口:
Serializable,org.apache.flink.api.connector.source.SourceEvent
public final class NoMoreElementEvent extends Object implements org.apache.flink.api.connector.source.SourceEvent
This event represents that there is no more data to read, the execution process is as follows:1. When a
SourceReaderhas no more data to read, it will invokeSourceReader.Context.signalNoMoreElement()and send this event toFlinkSourceEnumerator.
2. AfterFlinkSourceEnumeratorreceived this event and invokeSplitEnumeratorContext.sendEventToSourceReader(int, SourceEvent)send this event toFlinkSourceReader.
3. AfterFlinkSourceReaderreceived this event and changeInputStatusfrom MORE_AVAILABLE to END_INPUT.- 另请参阅:
- 序列化表格