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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TmapRow(ResultSet rs)Maps a row in this resultSet to an 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.
-
-