play.db.helper
Class JdbcWindowIterator<T>

java.lang.Object
  extended by play.db.helper.JdbcIterator<T>
      extended by play.db.helper.JdbcWindowIterator<T>
All Implemented Interfaces:
java.io.Closeable, java.lang.Iterable<T>, java.util.Iterator<T>

public class JdbcWindowIterator<T>
extends JdbcIterator<T>


Field Summary
 
Fields inherited from class play.db.helper.JdbcIterator
factory, result
 
Constructor Summary
JdbcWindowIterator(java.sql.ResultSet result, int pageOffset, int pageSize, java.lang.Class<T> adapterClass)
           
JdbcWindowIterator(java.sql.ResultSet result, int pageOffset, int pageSize, JdbcResultFactory<T> factory)
           
 
Method Summary
protected  void load()
           
 
Methods inherited from class play.db.helper.JdbcIterator
close, close, execute, execute, hasNext, iterator, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcWindowIterator

public JdbcWindowIterator(java.sql.ResultSet result,
                          int pageOffset,
                          int pageSize,
                          JdbcResultFactory<T> factory)
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

JdbcWindowIterator

public JdbcWindowIterator(java.sql.ResultSet result,
                          int pageOffset,
                          int pageSize,
                          java.lang.Class<T> adapterClass)
                   throws java.sql.SQLException
Throws:
java.sql.SQLException
Method Detail

load

protected void load()
Overrides:
load in class JdbcIterator<T>


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly