public class ListArrayHandler extends java.lang.Object implements ResultSetHandler<java.util.List<java.lang.Object[]>>
Constructor and Description |
---|
ListArrayHandler() |
ListArrayHandler(RowProcessor convert) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object[]> |
handle(java.sql.ResultSet rs)
Turn the
ResultSet into an Object. |
public ListArrayHandler()
public ListArrayHandler(RowProcessor convert)
public java.util.List<java.lang.Object[]> handle(java.sql.ResultSet rs) throws java.sql.SQLException
ResultSetHandler
ResultSet
into an Object.handle
in interface ResultSetHandler<java.util.List<java.lang.Object[]>>
rs
- The ResultSet
to handle. It has not been touched
before being passed to this method.ResultSet
data. It is
legal for implementations to return null
if the
ResultSet
contained 0 rows.java.sql.SQLException
- if a database access error occurs