public abstract class ConnectionBasedQueryResultSetIterator<R> extends StatementBasedQueryResultSetIterator<R>
| Modifier | Constructor and Description |
|---|---|
protected |
ConnectionBasedQueryResultSetIterator(java.sql.Connection connection,
java.lang.String sql) |
protected |
ConnectionBasedQueryResultSetIterator(java.sql.Connection connection,
java.lang.String sql,
java.lang.Integer fetchSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected static java.sql.Statement |
createStatementFor(java.sql.Connection connection) |
createResultSetFor, toStringconvert, hasNext, next, removeprotected ConnectionBasedQueryResultSetIterator(@Nonnull
java.sql.Connection connection,
@Nonnull
java.lang.String sql)
throws java.sql.SQLException
java.sql.SQLExceptionprotected ConnectionBasedQueryResultSetIterator(@Nonnull
java.sql.Connection connection,
@Nonnull
java.lang.String sql,
@Nullable
java.lang.Integer fetchSize)
throws java.sql.SQLException
java.sql.SQLException@Nonnull
protected static java.sql.Statement createStatementFor(@Nonnull
java.sql.Connection connection)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void close()
close in interface java.lang.AutoCloseableclose in interface CloseableIterator<R>close in class StatementBasedQueryResultSetIterator<R>Copyright © 2013 echocat. All Rights Reserved.