org.teiid.jdbc
Class BatchResults
java.lang.Object
org.teiid.jdbc.BatchResults
public class BatchResults
- extends java.lang.Object
- Since:
- 4.3
| 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)
BatchResults
public BatchResults(BatchResults.BatchFetcher batchFetcher,
org.teiid.jdbc.BatchResults.Batch batch,
int savedBatches)
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(BatchResults.BatchFetcher batchFetcher)
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 java.lang.Boolean hasNext(int next,
boolean wait)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getFinalRowNumber
public int getFinalRowNumber()
getHighestRowNumber
public int getHighestRowNumber()
Copyright © 2011. All Rights Reserved.