com.agimatec.sql.meta.oracle
Class ColumnDescriptionBuilder

java.lang.Object
  extended by com.agimatec.sql.meta.oracle.ColumnDescriptionBuilder
All Implemented Interfaces:
JdbcResultBuilder

public class ColumnDescriptionBuilder
extends Object
implements JdbcResultBuilder


Constructor Summary
ColumnDescriptionBuilder()
           
 
Method Summary
 void afterExecute(ResultSetMetaData data, Object queryObject, 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(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
 

Constructor Detail

ColumnDescriptionBuilder

public ColumnDescriptionBuilder()
Method Detail

afterExecute

public void afterExecute(ResultSetMetaData data,
                         Object queryObject,
                         List resultList)
                  throws 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:
SQLException

fetch

public void fetch(ResultSet row)
           throws 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:
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.