public interface JdbcMapper<T> extends Mapper<ResultSet,T>
| Modifier and Type | Method and Description |
|---|---|
<H extends RowHandler<? super T>> |
forEach(ResultSet rs,
H handle)
Loop over the resultSet, map each row to a new instance of T and call back the handler
|
Iterator<T> |
iterate(ResultSet rs)
Deprecated.
|
Iterator<T> |
iterator(ResultSet rs) |
map, map, newMappingContextmapTo<H extends RowHandler<? super T>> H forEach(ResultSet rs, H handle) throws SQLException, MappingException
rs - the resultSethandle - the handler that will get the callbackSQLException - if sql error occursMappingException - if an error occurs during the mappingIterator<T> iterator(ResultSet rs) throws SQLException, MappingException
rs - the result setSQLExceptionMappingException@Deprecated Iterator<T> iterate(ResultSet rs) throws SQLException, MappingException
SQLExceptionMappingExceptionCopyright © 2015. All rights reserved.