类 IteratorImpl
- java.lang.Object
-
- org.hibernate.internal.IteratorImpl
-
- 所有已实现的接口:
Closeable,AutoCloseable,Iterator,HibernateIterator
public final class IteratorImpl extends Object implements HibernateIterator
An implementation of java.util.Iterator that is returned by iterate() query execution methods.- 作者:
- Gavin King
-
-
构造器概要
构造器 构造器 说明 IteratorImpl(ResultSet rs, PreparedStatement ps, EventSource sess, boolean readOnly, Type[] types, String[][] columnNames, HolderInstantiator holderInstantiator)
-
-
-
构造器详细资料
-
IteratorImpl
public IteratorImpl(ResultSet rs, PreparedStatement ps, EventSource sess, boolean readOnly, Type[] types, String[][] columnNames, HolderInstantiator holderInstantiator) throws HibernateException, SQLException
-
-
方法详细资料
-
close
public void close() throws JDBCException从接口复制的说明:HibernateIteratorClose the Hibernate query result iterator- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 指定者:
close在接口中HibernateIterator- 抛出:
JDBCException- Indicates a problem releasing the underlying JDBC resources.
-
next
public Object next() throws HibernateException
- 指定者:
next在接口中Iterator- 抛出:
HibernateException
-
-