T - public abstract class SQLResultIterator<T>
extends java.lang.Object
implements com.mysema.commons.lang.CloseableIterator<T>
SQLResultIterator is an Iterator adapter for JDBC result sets with customizable projections| Constructor and Description |
|---|
SQLResultIterator(Configuration conf,
java.sql.Statement stmt,
java.sql.ResultSet rs) |
SQLResultIterator(Configuration conf,
java.sql.Statement stmt,
java.sql.ResultSet rs,
SQLDetailedListener listener,
SQLListenerContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
T |
next() |
protected abstract T |
produceNext(java.sql.ResultSet rs) |
void |
remove() |
public SQLResultIterator(Configuration conf, java.sql.Statement stmt, java.sql.ResultSet rs)
public SQLResultIterator(Configuration conf, java.sql.Statement stmt, java.sql.ResultSet rs, SQLDetailedListener listener, SQLListenerContext context)
public void close()
close in interface com.mysema.commons.lang.CloseableIterator<T>close in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic boolean hasNext()
hasNext in interface java.util.Iterator<T>protected abstract T produceNext(java.sql.ResultSet rs) throws java.lang.Exception
java.lang.Exceptionpublic void remove()
remove in interface java.util.Iterator<T>Copyright © 2007–2021 Querydsl. All rights reserved.