public class ArrayListHandler extends AbstractListHandler<Object[]>
ResultSetHandler implementation that converts the
ResultSet into a List of Object[]s.
This class is thread safe.ResultSetHandler| Constructor and Description |
|---|
ArrayListHandler()
Creates a new instance of ArrayListHandler using a
BasicRowProcessor for conversions. |
ArrayListHandler(RowProcessor convert)
Creates a new instance of ArrayListHandler.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object[] |
handleRow(ResultSet rs)
Convert row's columns into an
Object[]. |
handlepublic ArrayListHandler()
BasicRowProcessor for conversions.public ArrayListHandler(RowProcessor convert)
convert - The RowProcessor implementation
to use when converting rows into Object[]s.protected Object[] handleRow(ResultSet rs) throws SQLException
Object[].handleRow in class AbstractListHandler<Object[]>rs - ResultSet to process.Object[], never null.SQLException - if a database access error occursAbstractListHandler.handle(ResultSet)Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.