public interface ResultSetMapper<T>
Query.map(ResultSetMapper)
call to specify
what to do with each row of a result setModifier and Type | Method and Description |
---|---|
T |
map(int index,
ResultSet r,
StatementContext ctx)
Map the row the result set is at when passed in.
|
T map(int index, ResultSet r, StatementContext ctx) throws SQLException
index
- which row of the result set we are at, starts at 0r
- the result set being iteratedctx
- SQLException
- if anything goes wrong go ahead and let this percolate, jDBI will handle itCopyright © 2018. All rights reserved.