ojb.broker.accesslayer
Class SqlBasedReportQueryRsIterator

java.lang.Object
  |
  +--ojb.broker.accesslayer.RsIterator
        |
        +--ojb.broker.accesslayer.SqlBasedRsIterator
              |
              +--ojb.broker.accesslayer.SqlBasedReportQueryRsIterator
All Implemented Interfaces:
java.util.Iterator

public class SqlBasedReportQueryRsIterator
extends SqlBasedRsIterator


Field Summary
 
Fields inherited from class ojb.broker.accesslayer.RsIterator
cache, hasCalledCheck, hasNext, itemProxyClass, logger, m_broker, m_mif, m_row, m_rs
 
Constructor Summary
SqlBasedReportQueryRsIterator(ClassDescriptor cld, java.lang.String sqlStatement, PersistenceBrokerImpl broker)
          SqlBasedRsIterator constructor.
 
Method Summary
protected  java.lang.Object getObjectFromResultSet()
          returns an Object[] representing the columns of the current ResultSet row.
 
Methods inherited from class ojb.broker.accesslayer.RsIterator
getExtentClass, getIdentityFromResultSet, getProxyFromResultSet, hasNext, next, releaseDbResources, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlBasedReportQueryRsIterator

public SqlBasedReportQueryRsIterator(ClassDescriptor cld,
                                     java.lang.String sqlStatement,
                                     PersistenceBrokerImpl broker)
                              throws PersistenceBrokerException
SqlBasedRsIterator constructor.

Method Detail

getObjectFromResultSet

protected java.lang.Object getObjectFromResultSet()
                                           throws PersistenceBrokerException
returns an Object[] representing the columns of the current ResultSet row. There is no OJB object materialization, Proxy generation etc. involved to maximize performance.

Overrides:
getObjectFromResultSet in class SqlBasedRsIterator
PersistenceBrokerException


Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04