Interface RowMapper<T>

  • Type Parameters:
    T - The type of object to map to.

    public interface RowMapper<T>
    Mapper from ResultSet row to object.
    • Method Detail

      • mapRow

        T mapRow​(ResultSet rs)
          throws SQLException
        Maps a row in this resultSet to an object.
        Parameters:
        rs - The resultset, already positioned on the row to map.
        Returns:
        The corresponding object.
        Throws:
        SQLException - when reading the resultset failed.