Package org.apache.arrow.flight.sql
Class GetSessionOptionsResultListener
java.lang.Object
org.apache.arrow.flight.sql.GetSessionOptionsResultListener
- All Implemented Interfaces:
FlightProducer.StreamListener<GetSessionOptionsResult>
public class GetSessionOptionsResultListener
extends Object
implements FlightProducer.StreamListener<GetSessionOptionsResult>
Typed StreamListener for getSessionOptions.
-
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
Description copied from interface:FlightProducer.StreamListener
Send the next value to the client.- Specified by:
onNext
in interfaceFlightProducer.StreamListener<GetSessionOptionsResult>
-
onError
Description copied from interface:FlightProducer.StreamListener
Indicate an error to the client.Terminates the stream; do not call
FlightProducer.StreamListener.onCompleted()
.- Specified by:
onError
in interfaceFlightProducer.StreamListener<GetSessionOptionsResult>
-
onCompleted
public void onCompleted()Description copied from interface:FlightProducer.StreamListener
Indicate that the transmission is finished.- Specified by:
onCompleted
in interfaceFlightProducer.StreamListener<GetSessionOptionsResult>
-