T - the target List generic typepublic abstract class AbstractListHandler<T> extends Object implements ResultSetHandler<List<T>>
ResultSetHandler
classes that convert ResultSet into List.ResultSetHandler| 构造器和说明 |
|---|
AbstractListHandler() |
public List<T> handle(ResultSet rs) throws SQLException
ResultSet handler. It produce List as
result. To convert individual rows into Java objects it uses
handleRow(ResultSet) method.handle 在接口中 ResultSetHandler<List<T>>rs - ResultSet to process.SQLException - error occurshandleRow(ResultSet)protected abstract T handleRow(ResultSet rs) throws SQLException
rs - ResultSet to process.SQLException - error occursCopyright © 2020 com.github.braisdom. All rights reserved.