Package org.apache.arrow.flight
Interface FlightProducer.StreamListener<T>
- Type Parameters:
T
- Type of the values in the stream.
- All Known Subinterfaces:
FlightClient.PutListener
- All Known Implementing Classes:
AsyncPutListener
,CloseSessionResultListener
,FlightEndpointListener
,GetSessionOptionsResultListener
,NoOpStreamListener
,SetSessionOptionsResultListener
,SyncPutListener
- Enclosing interface:
- FlightProducer
public static interface FlightProducer.StreamListener<T>
Callbacks for pushing objects to a receiver.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Indicate that the transmission is finished.void
Indicate an error to the client.void
Send the next value to the client.
-
Method Details
-
onNext
Send the next value to the client. -
onError
Indicate an error to the client.Terminates the stream; do not call
onCompleted()
. -
onCompleted
void onCompleted()Indicate that the transmission is finished.
-