Module org.apache.arrow.flight.sql
Package org.apache.arrow.flight.sql
Class CloseSessionResultListener
java.lang.Object
org.apache.arrow.flight.sql.CloseSessionResultListener
- All Implemented Interfaces:
FlightProducer.StreamListener<CloseSessionResult>
public class CloseSessionResultListener
extends Object
implements FlightProducer.StreamListener<CloseSessionResult>
Typed StreamListener for closeSession.
-
Method Summary
Modifier and TypeMethodDescriptionvoidIndicate that the transmission is finished.voidIndicate an error to the client.voidonNext(CloseSessionResult val) Send the next value to the client.
-
Method Details
-
onNext
Description copied from interface:FlightProducer.StreamListenerSend the next value to the client.- Specified by:
onNextin interfaceFlightProducer.StreamListener<CloseSessionResult>
-
onError
Description copied from interface:FlightProducer.StreamListenerIndicate an error to the client.Terminates the stream; do not call
FlightProducer.StreamListener.onCompleted().- Specified by:
onErrorin interfaceFlightProducer.StreamListener<CloseSessionResult>
-
onCompleted
public void onCompleted()Description copied from interface:FlightProducer.StreamListenerIndicate that the transmission is finished.- Specified by:
onCompletedin interfaceFlightProducer.StreamListener<CloseSessionResult>
-