public class ArrayResultBuilder extends Object implements JdbcResultBuilder
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
colTypes |
protected int |
numCols |
protected List |
result |
protected Object[] |
row |
| Constructor and Description |
|---|
ArrayResultBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterExecute(ResultSetMetaData rsmData,
Object queryObject,
List resultList)
The init() method is called once after the SQL statement has been
executed and the result set is known.
|
void |
close(boolean isComplete)
The close() method is invoked, just BEFORE all associated resources (e.g. resultSet)
are closed by the caller.
|
void |
fetch(ResultSet resultSet)
create an Object[] with the data from the resultSet.
|
protected int numCols
protected List result
protected int[] colTypes
protected Object[] row
public void afterExecute(ResultSetMetaData rsmData, Object queryObject, List resultList) throws SQLException
JdbcResultBuilderafterExecute in interface JdbcResultBuilderrsmData - JDBC result set meta data.resultList - The List where the result objects are added to.SQLExceptionpublic void fetch(ResultSet resultSet) throws SQLException
fetch in interface JdbcResultBuilderresultSet - the ResultSet where the cursor is located on the current rowSQLExceptionpublic void close(boolean isComplete)
JdbcResultBuilderclose in interface JdbcResultBuilderCopyright © 2008-2016. All Rights Reserved.