Class AvaticaParameterBinder.BinderVisitor
java.lang.Object
org.apache.arrow.driver.jdbc.utils.AvaticaParameterBinder.BinderVisitor
- All Implemented Interfaces:
ArrowType.ArrowTypeVisitor<Boolean>
- Enclosing class:
- AvaticaParameterBinder
public static class AvaticaParameterBinder.BinderVisitor
extends Object
implements ArrowType.ArrowTypeVisitor<Boolean>
ArrowTypeVisitor that binds Avatica TypedValues to the given FieldVector at the specified
index.
-
Constructor Summary
ConstructorDescriptionBinderVisitor
(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue value, int index) Instantiate a new BinderVisitor. -
Method Summary
Modifier and TypeMethodDescriptionvisit
(ArrowType.Binary type) visit
(ArrowType.BinaryView type) visit
(ArrowType.Bool type) visit
(ArrowType.Date type) visit
(ArrowType.Decimal type) visit
(ArrowType.Duration type) visit
(ArrowType.FixedSizeList type) visit
(ArrowType.FloatingPoint type) visit
(ArrowType.Int type) visit
(ArrowType.Interval type) visit
(ArrowType.LargeBinary type) visit
(ArrowType.LargeList type) visit
(ArrowType.LargeUtf8 type) visit
(ArrowType.List type) visit
(ArrowType.ListView type) visit
(ArrowType.Map type) visit
(ArrowType.Null type) visit
(ArrowType.Struct type) visit
(ArrowType.Time type) visit
(ArrowType.Timestamp type) visit
(ArrowType.Union type) visit
(ArrowType.Utf8 type) visit
(ArrowType.Utf8View type) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.arrow.vector.types.pojo.ArrowType.ArrowTypeVisitor
visit
-
Constructor Details
-
BinderVisitor
public BinderVisitor(FieldVector vector, org.apache.calcite.avatica.remote.TypedValue value, int index) Instantiate a new BinderVisitor.- Parameters:
vector
- FieldVector to bind values to.value
- TypedValue to bind.index
- Vector index (0-based) to bind the value to.
-
-
Method Details
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<Boolean>
-