站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

IteratorImpl (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.impl
Class IteratorImpl

java.lang.Object
  extended bynet.sf.hibernate.impl.IteratorImpl
All Implemented Interfaces:
HibernateIterator, Iterator

public final class IteratorImpl
extends Object
implements HibernateIterator

An implementation of java.util.Iterator that is returned by iterate() query execution methods.

Author:
Gavin King

Constructor Summary
IteratorImpl(ResultSet rs, PreparedStatement ps, SessionImplementor sess, Type[] types, String[][] columnNames, Class holderClass)
           
 
Method Summary
 void close()
           
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IteratorImpl

public IteratorImpl(ResultSet rs,
                    PreparedStatement ps,
                    SessionImplementor sess,
                    Type[] types,
                    String[][] columnNames,
                    Class holderClass)
             throws HibernateException,
                    SQLException
Method Detail

close

public void close()
           throws JDBCException
Specified by:
close in interface HibernateIterator
Throws:
JDBCException

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator