E - the type of the record emitted by the SplitReaderT - the type of records that are eventually emitted to the SourceOutput.SplitStateT - the mutable type of split state.@PublicEvolving
public interface RecordEmitter<E,T,SplitStateT>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
emitRecord(E element,
org.apache.flink.api.connector.source.SourceOutput<T> output,
SplitStateT splitState)
Process and emit the records to the
SourceOutput. |
void emitRecord(E element, org.apache.flink.api.connector.source.SourceOutput<T> output, SplitStateT splitState) throws Exception
SourceOutput. A few recommendations to the
implementation are following:
element - The intermediate element read by the SplitReader.output - The output to which the final records are emit to.splitState - The state of the split.ExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.