public class StreamTaskExternallyInducedSourceInput<T> extends StreamTaskSourceInput<T>
StreamTaskSourceInput for ExternallyInducedSourceReader.PushingAsyncDataInput.DataOutput<T>UNSPECIFIED| 构造器和说明 |
|---|
StreamTaskExternallyInducedSourceInput(SourceOperator<T,?> operator,
java.util.function.Consumer<Long> checkpointTriggeringHook,
int inputGateIndex,
int inputIndex) |
| 限定符和类型 | 方法和说明 |
|---|---|
DataInputStatus |
emitNext(PushingAsyncDataInput.DataOutput<T> output)
Pushes the next element to the output from current data input, and returns the input status
to indicate whether there are more available data in current input.
|
blockConsumption, checkpointStarted, checkpointStopped, close, convertToPriorityEvent, getAvailableFuture, getChannelInfos, getInputGateIndex, getInputIndex, getNumberOfInputChannels, getOperator, getOperatorID, prepareSnapshot, resumeConsumptionpublic StreamTaskExternallyInducedSourceInput(SourceOperator<T,?> operator, java.util.function.Consumer<Long> checkpointTriggeringHook, int inputGateIndex, int inputIndex)
public DataInputStatus emitNext(PushingAsyncDataInput.DataOutput<T> output) throws Exception
PushingAsyncDataInputThis method should be non blocking.
emitNext 在接口中 PushingAsyncDataInput<T>emitNext 在类中 StreamTaskSourceInput<T>ExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.