com.j256.ormlite.stmt
Interface GenericRowMapper<T>
- Type Parameters:
T - Type that the mapRow returns.
- All Known Subinterfaces:
- PreparedQuery<T>
public interface GenericRowMapper<T>
Parameterized version similar to Spring's RowMapper which converts a result row into an object.
- Author:
- graywatson
|
Method Summary |
T |
mapRow(Results rs,
int rowNum)
Used to convert a results row to an object. |
mapRow
T mapRow(Results rs,
int rowNum)
throws SQLException
- Used to convert a results row to an object.
- Returns:
- The created object with all of the fields set from the results;
- Throws:
SQLException - If we could not get the SQL results or instantiate the object.
Copyright © 2010. All Rights Reserved.