com.agimatec.sql.meta.oracle
Class ColumnDescriptionBuilder
java.lang.Object
com.agimatec.sql.meta.oracle.ColumnDescriptionBuilder
- All Implemented Interfaces:
- JdbcResultBuilder
public class ColumnDescriptionBuilder
- extends java.lang.Object
- implements JdbcResultBuilder
|
Method Summary |
void |
afterExecute(java.sql.ResultSetMetaData data,
java.lang.Object queryObject,
java.util.List resultList)
nullable:
N, Y |
void |
close(boolean isComplete)
The close() method is invoked, just BEFORE all associated resources (e.g. resultSet)
are closed by the caller. |
void |
fetch(java.sql.ResultSet row)
This method is invoked each time the cursor in the resultset is moved
to the next row, as long as the resultList contains less objects than the client
expects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColumnDescriptionBuilder
public ColumnDescriptionBuilder()
afterExecute
public void afterExecute(java.sql.ResultSetMetaData data,
java.lang.Object queryObject,
java.util.List resultList)
throws java.sql.SQLException
- nullable:
N, Y
- Specified by:
afterExecute in interface JdbcResultBuilder
- Parameters:
data - JDBC result set meta data.resultList - The List where the result objects are added to.
- Throws:
java.sql.SQLException
fetch
public void fetch(java.sql.ResultSet row)
throws java.sql.SQLException
- Description copied from interface:
JdbcResultBuilder
- This method is invoked each time the cursor in the resultset is moved
to the next row, as long as the resultList contains less objects than the client
expects.
This method is expected to the following:
- use the values of the row to create some object
- might put the object to the resultList
DO NOT: invoke next() or any method that moves the resultSet cursor or
closes the resultSet.
- Specified by:
fetch in interface JdbcResultBuilder
- Parameters:
row - the ResultSet where the cursor is located on the current row
- Throws:
java.sql.SQLException
close
public void close(boolean isComplete)
- Description copied from interface:
JdbcResultBuilder
- The close() method is invoked, just BEFORE all associated resources (e.g. resultSet)
are closed by the caller. The close() method is the last callback to the visitor
that allows to add pending results to the result list and to close own resources.
- Specified by:
close in interface JdbcResultBuilder
Copyright © 2008-2012. All Rights Reserved.