Interface PushingAsyncDataInput<T>
- All Superinterfaces:
AvailabilityProvider
- All Known Subinterfaces:
RecoverableStreamTaskInput<T>,StreamTaskInput<T>
- All Known Implementing Classes:
AbstractStreamTaskNetworkInput,MultiInputSortingDataInput,RescalingStreamTaskNetworkInput,SortingDataInput,SourceOperator,StreamTaskExternallyInducedSourceInput,StreamTaskFinishedOnRestoreSourceInput,StreamTaskNetworkInput,StreamTaskSourceInput
The variant of
PullingAsyncDataInput that is defined for handling both network input and
source input in a unified way via emitNext(DataOutput) instead of returning
Optional.empty() via PullingAsyncDataInput.pollNext().-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBasic data output interface used in emitting the next element from data input.Nested classes/interfaces inherited from interface org.apache.flink.runtime.io.AvailabilityProvider
AvailabilityProvider.AvailabilityHelper -
Field Summary
Fields inherited from interface org.apache.flink.runtime.io.AvailabilityProvider
AVAILABLE -
Method Summary
Modifier and TypeMethodDescriptionemitNext(PushingAsyncDataInput.DataOutput<T> output) Pushes elements to the output from current data input, and returns the input status to indicate whether there are more available data in current input.Methods inherited from interface org.apache.flink.runtime.io.AvailabilityProvider
getAvailableFuture, isApproximatelyAvailable, isAvailable
-
Method Details
-
emitNext
Pushes elements to the output from current data input, and returns the input status to indicate whether there are more available data in current input.This method should be non blocking.
- Throws:
Exception
-