Package org.apache.arrow.flight
Interface SessionOptionValueVisitor<T>
- Type Parameters:
T
- Return type of the visit operation.
- All Known Implementing Classes:
NoOpSessionOptionValueVisitor
public interface SessionOptionValueVisitor<T>
A visitor interface to access SessionOptionValue's contained value.
-
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.
-
Method Details
-
visit
A callback to handle SessionOptionValue containing a String. -
visit
A callback to handle SessionOptionValue containing a boolean. -
visit
A callback to handle SessionOptionValue containing a long. -
visit
A callback to handle SessionOptionValue containing a double. -
visit
A callback to handle SessionOptionValue containing an array of String. -
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.
-