Class PojoMapper.BoundPojoMapper

  • All Implemented Interfaces:
    RowMapper<T>
    Enclosing class:
    PojoMapper<T>

    class PojoMapper.BoundPojoMapper
    extends java.lang.Object
    implements RowMapper<T>
    • Method Detail

      • map

        public T map​(java.sql.ResultSet rs,
                     StatementContext ctx)
              throws java.sql.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:
        java.sql.SQLException - if anything goes wrong go ahead and let this percolate; Jdbi will handle it
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object