Package org.apache.arrow.flight
Class NoOpStreamListener<T>
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> FlightProducer.StreamListener<T>
void
Ignores the stream completion event.void
Ignores the error received.void
Ignores the value received.
-
Constructor Details
-
NoOpStreamListener
public NoOpStreamListener()
-
-
Method Details
-
onNext
Ignores the value received.- Specified by:
onNext
in interfaceFlightProducer.StreamListener<T>
-
onError
Ignores the error received.- Specified by:
onError
in interfaceFlightProducer.StreamListener<T>
-
onCompleted
public void onCompleted()Ignores the stream completion event.- Specified by:
onCompleted
in interfaceFlightProducer.StreamListener<T>
-
getInstance
-