public class BatchResults extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchResults.BatchFetcher |
| Constructor and Description |
|---|
BatchResults(BatchResults.BatchFetcher batchFetcher,
org.teiid.jdbc.BatchResults.Batch batch,
int savedBatches) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
absolute(int row) |
boolean |
absolute(int row,
int offset) |
List<?> |
getCurrentRow()
Moving forward through the results it's expected that the batches are arbitrarily size.
|
int |
getCurrentRowNumber() |
int |
getFinalRowNumber() |
int |
getHighestRowNumber() |
boolean |
hasNext() |
Boolean |
hasNext(int next,
boolean wait) |
boolean |
hasPrevious() |
boolean |
isTailLast() |
boolean |
next() |
boolean |
previous() |
void |
setBatchFetcher(BatchResults.BatchFetcher batchFetcher) |
public BatchResults(BatchResults.BatchFetcher batchFetcher, org.teiid.jdbc.BatchResults.Batch batch, int savedBatches)
public List<?> getCurrentRow() throws SQLException
SQLExceptionpublic boolean next()
throws SQLException
SQLExceptionpublic boolean hasPrevious()
public boolean previous()
public void setBatchFetcher(BatchResults.BatchFetcher batchFetcher)
public boolean absolute(int row)
throws SQLException
SQLExceptionpublic boolean absolute(int row,
int offset)
throws SQLException
SQLExceptionpublic int getCurrentRowNumber()
public boolean hasNext()
throws SQLException
SQLExceptionpublic Boolean hasNext(int next, boolean wait) throws SQLException
SQLExceptionpublic int getFinalRowNumber()
public int getHighestRowNumber()
public boolean isTailLast()
Copyright © 2019. All rights reserved.