public class BeanMapper<T> extends Object implements ResultSetMapper<T>
Constructor and Description |
---|
BeanMapper(Class<T> type) |
Modifier and Type | Method and Description |
---|---|
T |
map(int row,
ResultSet rs,
StatementContext ctx)
Map the row the result set is at when passed in.
|
public T map(int row, ResultSet rs, StatementContext ctx) throws SQLException
ResultSetMapper
map
in interface ResultSetMapper<T>
row
- which row of the result set we are at, starts at 0rs
- the result set being iteratedSQLException
- if anything goes wrong go ahead and let this percolate, jDBI will handle itCopyright © 2018. All rights reserved.