java.lang.Object
org.apache.arrow.adapter.jdbc.binder.BaseColumnBinder<SmallIntVector>
org.apache.arrow.adapter.jdbc.binder.SmallIntBinder
All Implemented Interfaces:
ColumnBinder

public class SmallIntBinder extends BaseColumnBinder<SmallIntVector>
A column binder for 8-bit integers.
  • Constructor Details

    • SmallIntBinder

      public SmallIntBinder(SmallIntVector vector)
    • SmallIntBinder

      public SmallIntBinder(SmallIntVector vector, int jdbcType)
  • Method Details

    • bind

      public void bind(PreparedStatement statement, int parameterIndex, int rowIndex) throws SQLException
      Description copied from interface: ColumnBinder
      Bind the given row to the given parameter.
      Parameters:
      statement - The statement to bind to.
      parameterIndex - The parameter to bind to (1-indexed)
      rowIndex - The row to bind values from (0-indexed)
      Throws:
      SQLException - if an error occurs