Package org.hibernate.impl
Class IteratorImpl
java.lang.Object
org.hibernate.impl.IteratorImpl
- All Implemented Interfaces:
Iterator,HibernateIterator
An implementation of java.util.Iterator that is
returned by iterate() query execution methods.
-
Constructor Summary
ConstructorsConstructorDescriptionIteratorImpl(ResultSet rs, PreparedStatement ps, EventSource sess, boolean readOnly, Type[] types, String[][] columnNames, HolderInstantiator holderInstantiator) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
IteratorImpl
public IteratorImpl(ResultSet rs, PreparedStatement ps, EventSource sess, boolean readOnly, Type[] types, String[][] columnNames, HolderInstantiator holderInstantiator) throws HibernateException, SQLException - Throws:
HibernateExceptionSQLException
-
-
Method Details
-
close
- Specified by:
closein interfaceHibernateIterator- Throws:
JDBCException
-
hasNext
public boolean hasNext() -
next
- Specified by:
nextin interfaceIterator- Throws:
HibernateException
-
remove
public void remove()
-