Class ColumnBinderArrowTypeVisitor
java.lang.Object
org.apache.arrow.adapter.jdbc.binder.ColumnBinderArrowTypeVisitor
- All Implemented Interfaces:
ArrowType.ArrowTypeVisitor<ColumnBinder>
public class ColumnBinderArrowTypeVisitor
extends Object
implements ArrowType.ArrowTypeVisitor<ColumnBinder>
Visitor to create the base ColumnBinder for a vector.
To handle null values, wrap the returned binder in a NullableColumnBinder
.
-
Constructor Summary
ConstructorDescriptionColumnBinderArrowTypeVisitor
(FieldVector vector, Integer jdbcType) Create a binder using a custom JDBC type code. -
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
-
ColumnBinderArrowTypeVisitor
Create a binder using a custom JDBC type code.- Parameters:
vector
- The vector that the binder will wrap.jdbcType
- The JDBC type code (or null to use the default).
-
-
Method Details
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-
visit
- Specified by:
visit
in interfaceArrowType.ArrowTypeVisitor<ColumnBinder>
-