com.mysema.query.sql
Class SQLResultIterator<T>
java.lang.Object
  
com.mysema.query.sql.SQLResultIterator<T>
- Type Parameters:
 T - 
- All Implemented Interfaces: 
 - com.mysema.commons.lang.CloseableIterator<T>, Closeable, Iterator<T>
 
public abstract class SQLResultIterator<T>
- extends Object
- implements com.mysema.commons.lang.CloseableIterator<T>
  
SQLResultIterator is an Iterator adapter for JDBC result sets with customizable projections
- Author:
 
  - tiwe
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SQLResultIterator
public SQLResultIterator(Statement stmt,
                         ResultSet rs)
close
public void close()
- Specified by:
 close in interface com.mysema.commons.lang.CloseableIterator<T>- Specified by:
 close in interface Closeable
 
 
hasNext
public boolean hasNext()
- Specified by:
 hasNext in interface Iterator<T>
 
 
next
public T next()
- Specified by:
 next in interface Iterator<T>
 
 
produceNext
protected abstract T produceNext(ResultSet rs)
 
 
remove
public void remove()
- Specified by:
 remove in interface Iterator<T>
 
 
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.