public class StreamTaskExternallyInducedSourceInput<T> extends StreamTaskSourceInput<T>
StreamTaskSourceInput for ExternallyInducedSourceReader.PushingAsyncDataInput.DataOutput<T>UNSPECIFIED| Constructor and Description |
|---|
StreamTaskExternallyInducedSourceInput(SourceOperator<T,?> operator,
java.util.function.Consumer<Long> checkpointTriggeringHook,
int inputGateIndex,
int inputIndex) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.core.io.InputStatus |
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, getOperatorID, prepareSnapshot, resumeConsumptionpublic StreamTaskExternallyInducedSourceInput(SourceOperator<T,?> operator, java.util.function.Consumer<Long> checkpointTriggeringHook, int inputGateIndex, int inputIndex)
public org.apache.flink.core.io.InputStatus emitNext(PushingAsyncDataInput.DataOutput<T> output) throws Exception
PushingAsyncDataInputThis method should be non blocking.
emitNext in interface PushingAsyncDataInput<T>emitNext in class StreamTaskSourceInput<T>ExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.