public interface ResultColumnMapper<T>
StatementContext.columnMapperFor(Class)
Modifier and Type | Method and Description |
---|---|
T |
mapColumn(ResultSet r,
int columnNumber,
StatementContext ctx)
Map the given column of the current row of the result set to an Object.
|
T |
mapColumn(ResultSet r,
String columnLabel,
StatementContext ctx)
Map the given column of the current row of the result set to an Object.
|
T mapColumn(ResultSet r, int columnNumber, StatementContext ctx) throws SQLException
r
- the result set being iteratedcolumnNumber
- the column number to map (starts at 1)SQLException
- if anything goes wrong go ahead and let this percolate, jDBI will handle itT mapColumn(ResultSet r, String columnLabel, StatementContext ctx) throws SQLException
r
- the result set being iteratedcolumnLabel
- the column label to mapSQLException
- if anything goes wrong go ahead and let this percolate, jDBI will handle itCopyright © 2018. All rights reserved.