Package org.apache.arrow.flight
Class NoOpSessionOptionValueVisitor<T>
java.lang.Object
org.apache.arrow.flight.NoOpSessionOptionValueVisitor<T>
- Type Parameters:
T
- Return type of the visit operation.
- All Implemented Interfaces:
SessionOptionValueVisitor<T>
public class NoOpSessionOptionValueVisitor<T>
extends Object
implements SessionOptionValueVisitor<T>
A helper to facilitate easier anonymous subclass declaration.
Implementations need only override callbacks for types they wish to do something with.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvisit
(boolean value) A callback to handle SessionOptionValue containing a boolean.visit
(double value) A callback to handle SessionOptionValue containing a double.visit
(long value) A callback to handle SessionOptionValue containing a long.A callback to handle SessionOptionValue containing a String.A callback to handle SessionOptionValue containing an array of String.A callback to handle SessionOptionValue containing no value.
-
Constructor Details
-
NoOpSessionOptionValueVisitor
public NoOpSessionOptionValueVisitor()
-
-
Method Details
-
visit
A callback to handle SessionOptionValue containing a String.- Specified by:
visit
in interfaceSessionOptionValueVisitor<T>
-
visit
A callback to handle SessionOptionValue containing a boolean.- Specified by:
visit
in interfaceSessionOptionValueVisitor<T>
-
visit
A callback to handle SessionOptionValue containing a long.- Specified by:
visit
in interfaceSessionOptionValueVisitor<T>
-
visit
A callback to handle SessionOptionValue containing a double.- Specified by:
visit
in interfaceSessionOptionValueVisitor<T>
-
visit
A callback to handle SessionOptionValue containing an array of String.- Specified by:
visit
in interfaceSessionOptionValueVisitor<T>
-
visit
A callback to handle SessionOptionValue containing no value.By convention, an attempt to set a valueless SessionOptionValue should attempt to unset or clear the named option value on the server.
- Specified by:
visit
in interfaceSessionOptionValueVisitor<T>
-