Class FieldMapper.BoundFieldMapper

java.lang.Object
org.jdbi.v3.core.mapper.reflect.FieldMapper.BoundFieldMapper
All Implemented Interfaces:
RowMapper<T>
Enclosing class:
FieldMapper<T>

class FieldMapper.BoundFieldMapper extends Object implements RowMapper<T>
  • Field Details

  • Constructor Details

  • Method Details

    • map

      public T map(ResultSet rs, StatementContext ctx) throws SQLException
      Description copied from interface: RowMapper
      Map the current row of the result set. This method should not cause the result set to advance; allow Jdbi to do that, please.
      Specified by:
      map in interface RowMapper<T>
      Parameters:
      rs - the result set being iterated
      ctx - the statement context
      Returns:
      the value to produce for this row
      Throws:
      SQLException - if anything goes wrong go ahead and let this percolate; Jdbi will handle it
    • construct

      private T construct()
    • writeField

      private void writeField(T obj, Field field, Object value)
    • toString

      public String toString()
      Overrides:
      toString in class Object