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
SQLException
public boolean next() throws SQLException
SQLException
public boolean hasPrevious()
public boolean previous()
public void setBatchFetcher(BatchResults.BatchFetcher batchFetcher)
public boolean absolute(int row) throws SQLException
SQLException
public boolean absolute(int row, int offset) throws SQLException
SQLException
public int getCurrentRowNumber()
public boolean hasNext() throws SQLException
SQLException
public Boolean hasNext(int next, boolean wait) throws SQLException
SQLException
public int getFinalRowNumber()
public int getHighestRowNumber()
public boolean isTailLast()
Copyright © 2018 JBoss by Red Hat. All rights reserved.