|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - Type that the mapRow returns.public interface RawRowMapper<T>
Parameterized row mapper that takes output from the GenericRawResults and returns a T. Is used in the
Dao.queryRaw(String, RawRowMapper, String...) method.
NOTE: If you need to map Objects instead then consider using the
Dao.queryRaw(String, com.j256.ormlite.field.DataType[], String...) method which allows you to iterate over
the raw results as Object[].
| Method Summary | |
|---|---|
T |
mapRow(String[] columnNames,
String[] resultColumns)
Used to convert a raw results row to an object. |
| Method Detail |
|---|
T mapRow(String[] columnNames,
String[] resultColumns)
throws SQLException
columnNames - Array of names of columns.resultColumns - Array of result columns.
SQLException - If there is any critical error with the data and you want to stop the paging.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||