com.metamatrix.jdbc
Class BatchResults
java.lang.Object
com.metamatrix.jdbc.BatchResults
public class BatchResults
- extends java.lang.Object
- Since:
- 4.3
Constructor Summary |
BatchResults(BatchFetcher batchFetcher,
int fetchSize,
com.metamatrix.jdbc.BatchResults.Batch batch)
|
BatchResults(java.util.List[] batch,
int beginRow,
int endRow,
boolean isLast,
int fetchSize)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BatchResults
public BatchResults(java.util.List[] batch,
int beginRow,
int endRow,
boolean isLast,
int fetchSize)
BatchResults
public BatchResults(BatchFetcher batchFetcher,
int fetchSize,
com.metamatrix.jdbc.BatchResults.Batch batch)
getCurrentRow
public java.util.List getCurrentRow()
throws java.sql.SQLException
- Moving forward through the results it's expected that the batches are arbitrarily size.
Moving backward through the results it's expected that the batches will match the fetch size.
- Throws:
java.sql.SQLException
next
public boolean next()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
hasPrevious
public boolean hasPrevious()
previous
public boolean previous()
setBatchFetcher
public void setBatchFetcher(BatchFetcher batchFetcher)
getFetchSize
public int getFetchSize()
absolute
public boolean absolute(int row)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
absolute
public boolean absolute(int row,
int offset)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getCurrentRowNumber
public int getCurrentRowNumber()
hasNext
public boolean hasNext()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
hasNext
public boolean hasNext(int next)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getFinalRowNumber
public int getFinalRowNumber()
getHighestRowNumber
public int getHighestRowNumber()
Copyright © 2009. All Rights Reserved.