java.lang.Object
org.apache.arrow.flight.NoOpStreamListener<T>
- Type Parameters:
T- The type of the callback object.
- All Implemented Interfaces:
FlightProducer.StreamListener<T>
A
FlightProducer.StreamListener that does nothing for all callbacks.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> FlightProducer.StreamListener<T>voidIgnores the stream completion event.voidIgnores the error received.voidIgnores the value received.
-
Constructor Details
-
NoOpStreamListener
public NoOpStreamListener()
-
-
Method Details
-
onNext
Ignores the value received.- Specified by:
onNextin interfaceFlightProducer.StreamListener<T>
-
onError
Ignores the error received.- Specified by:
onErrorin interfaceFlightProducer.StreamListener<T>
-
onCompleted
public void onCompleted()Ignores the stream completion event.- Specified by:
onCompletedin interfaceFlightProducer.StreamListener<T>
-
getInstance
-