Class ConstructorMapper.UnmatchedConstructorMapper<T>

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

    static class ConstructorMapper.UnmatchedConstructorMapper<T>
    extends java.lang.Object
    implements RowMapper<T>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String message  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T map​(java.sql.ResultSet rs, StatementContext ctx)
      Map the current row of the result set.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • message

        private final java.lang.String message
    • Constructor Detail

      • UnmatchedConstructorMapper

        UnmatchedConstructorMapper​(java.lang.String message)
    • 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