Package org.hotrod.dynamicsql
Class DynCursor<R>
- java.lang.Object
-
- org.hotrod.dynamicsql.DynCursor<R>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDynCursor.CursorIterator<T>
-
Constructor Summary
Constructors Constructor Description DynCursor(Connection conn, PreparedSelectQuery<R> q, RowReader<R> rowReader, Integer fetchSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Iterator<R>iterator()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
DynCursor
public DynCursor(Connection conn, PreparedSelectQuery<R> q, RowReader<R> rowReader, Integer fetchSize) throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-