Class MapBinder

All Implemented Interfaces:

public class MapBinder extends BaseColumnBinder<MapVector>
A column binder for map of primitive values.
  • Constructor Details

    • MapBinder

      public MapBinder(MapVector vector)
    • MapBinder

      public MapBinder(MapVector vector, int jdbcType)
      Init MapBinder and determine type of data vector.
      vector - corresponding data vector from arrow buffer for binding
      jdbcType - parameter jdbc type
  • 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.
      statement - The statement to bind to.
      parameterIndex - The parameter to bind to (1-indexed)
      rowIndex - The row to bind values from (0-indexed)
      SQLException - if an error occurs