public abstract class BaseResultSetMapper<ResultType> extends Object implements ResultSetMapper<ResultType>
| Constructor and Description |
|---|
BaseResultSetMapper() |
| Modifier and Type | Method and Description |
|---|---|
ResultType |
map(int index,
ResultSet r,
StatementContext ctx)
Defers to mapInternal
|
protected abstract ResultType |
mapInternal(int index,
Map<String,Object> row)
Subclasses should implement this method in order to map the result
|
public final ResultType map(int index, ResultSet r, StatementContext ctx)
map in interface ResultSetMapper<ResultType>index - which row of the result set we are at, starts at 0r - the result set being iteratedprotected abstract ResultType mapInternal(int index, Map<String,Object> row)
index - The row, starting at 0row - The result of a ResultSetMapper.map(int, java.sql.ResultSet, org.skife.jdbi.v2.StatementContext) callCopyright © 2018. All rights reserved.