@Internal
public interface PushingAsyncDataInput<T>
extends org.apache.flink.runtime.io.AvailabilityProvider
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()
.限定符和类型 | 接口和说明 |
---|---|
static interface |
PushingAsyncDataInput.DataOutput<T>
Basic data output interface used in emitting the next element from data input.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
InputStatus emitNext(PushingAsyncDataInput.DataOutput<T> output) throws Exception
This method should be non blocking.
Exception
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.