Class CollectorColumnMapper<T,A,R>

java.lang.Object
org.jdbi.v3.core.array.CollectorColumnMapper<T,A,R>
All Implemented Interfaces:
ColumnMapper<R>

class CollectorColumnMapper<T,A,R> extends Object implements ColumnMapper<R>
  • Field Details

  • Constructor Details

  • Method Details

    • map

      public R map(ResultSet r, int columnNumber, StatementContext ctx) throws SQLException
      Description copied from interface: ColumnMapper
      Map the given column of the current row of the result set to an Object. This method should not cause the result set to advance; allow Jdbi to do that, please.
      Specified by:
      map in interface ColumnMapper<T>
      Parameters:
      r - the result set being iterated
      columnNumber - the column number to map (starts at 1)
      ctx - the statement context
      Returns:
      the value to return for this column
      Throws:
      SQLException - if anything goes wrong go ahead and let this percolate; Jdbi will handle it
    • buildFromResultSet

      private R buildFromResultSet(Array array, StatementContext ctx) throws SQLException
      Throws:
      SQLException