Class BaseColumnBinder<V extends FieldVector>

java.lang.Object
org.apache.arrow.adapter.jdbc.binder.BaseColumnBinder<V>
Type Parameters:
V - The concrete FieldVector subtype.
All Implemented Interfaces:
ColumnBinder
Direct Known Subclasses:
BigIntBinder, BitBinder, DateDayBinder, DateMilliBinder, Decimal128Binder, Decimal256Binder, FixedSizeBinaryBinder, Float4Binder, Float8Binder, IntBinder, ListBinder, MapBinder, SmallIntBinder, Time32Binder, Time64Binder, TimeStampBinder, TinyIntBinder, VarBinaryBinder, VarCharBinder

public abstract class BaseColumnBinder<V extends FieldVector> extends Object implements ColumnBinder
Base class for ColumnBinder implementations.
  • Field Details

    • vector

      protected final V extends FieldVector vector
    • jdbcType

      protected final int jdbcType
  • Constructor Details

    • BaseColumnBinder

      public BaseColumnBinder(V vector, int jdbcType)
  • Method Details

    • getJdbcType

      public int getJdbcType()
      Description copied from interface: ColumnBinder
      Get the JDBC type code used by this binder.
      Specified by:
      getJdbcType in interface ColumnBinder
      Returns:
      A type code from Types.
    • getVector

      public V getVector()
      Description copied from interface: ColumnBinder
      Get the vector used by this binder.
      Specified by:
      getVector in interface ColumnBinder