Interface RowMapper<T>

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

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

    Modifier and Type
    Method
    Description
    Maps a row in this resultSet to an object.
  • Method Details

    • 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.