public final class IteratorImpl extends java.lang.Object implements HibernateIterator
Constructor and Description |
---|
IteratorImpl(java.sql.ResultSet rs,
java.sql.PreparedStatement ps,
EventSource sess,
boolean readOnly,
Type[] types,
java.lang.String[][] columnNames,
HolderInstantiator holderInstantiator) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the Hibernate query result iterator
|
boolean |
hasNext() |
java.lang.Object |
next() |
void |
remove() |
public IteratorImpl(java.sql.ResultSet rs, java.sql.PreparedStatement ps, EventSource sess, boolean readOnly, Type[] types, java.lang.String[][] columnNames, HolderInstantiator holderInstantiator) throws HibernateException, java.sql.SQLException
HibernateException
java.sql.SQLException
public void close() throws JDBCException
HibernateIterator
close
in interface java.lang.AutoCloseable
close
in interface HibernateIterator
JDBCException
- Indicates a problem releasing the underlying JDBC resources.public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next() throws HibernateException
next
in interface java.util.Iterator
HibernateException
public void remove()
remove
in interface java.util.Iterator
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.