@Internal public interface PushingAsyncDataInput<T> extends 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()
.Modifier and Type | Interface and Description |
---|---|
static interface |
PushingAsyncDataInput.DataOutput<T>
Basic data output interface used in emitting the next element from data input.
|
AvailabilityProvider.AvailabilityHelper
AVAILABLE
Modifier and Type | Method and Description |
---|---|
DataInputStatus |
emitNext(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.
|
and, getAvailableFuture, isApproximatelyAvailable, isAvailable, or
DataInputStatus emitNext(PushingAsyncDataInput.DataOutput<T> output) throws Exception
This method should be non blocking.
Exception
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.