public abstract class H2ResultSetIterator<T> extends GridIteratorAdapter<T> implements GridCloseableIterator<T>
| Modifier and Type | Field and Description |
|---|---|
protected Object[] |
row |
protected Tracing |
tracing
Tracing processor.
|
| Modifier | Constructor and Description |
|---|---|
protected |
H2ResultSetIterator(ResultSet data,
int pageSize,
IgniteLogger log,
IgniteH2Indexing h2,
H2QueryInfo qryInfo,
Tracing tracing) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected abstract T |
createRow() |
boolean |
hasNextX() |
boolean |
isClosed() |
void |
lockTables() |
T |
nextX() |
void |
onClose() |
void |
removeX() |
String |
toString() |
void |
unlockTables() |
hasNext, iterator, next, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, iterator, spliteratorforEachRemaining, hasNext, next, removeprotected H2ResultSetIterator(ResultSet data, int pageSize, IgniteLogger log, IgniteH2Indexing h2, H2QueryInfo qryInfo, Tracing tracing) throws IgniteCheckedException
data - Data array.log - Logger.h2 - Indexing H2.qryInfo - Query info.pageSize - Page size.tracing - Tracing processor.IgniteCheckedException - If failed.public void lockTables()
public void unlockTables()
protected abstract T createRow()
public void onClose()
throws IgniteCheckedException
IgniteCheckedException - On error.public void close()
throws IgniteCheckedException
close in interface AutoCloseableclose in interface GridCloseableIterator<T>close in interface IgniteSpiCloseableIterator<T>IgniteCheckedExceptionpublic boolean isClosed()
isClosed in interface GridCloseableIterator<T>public boolean hasNextX()
throws IgniteCheckedException
hasNextX in interface GridIterator<T>IgniteCheckedExceptionpublic T nextX() throws IgniteCheckedException
nextX in interface GridIterator<T>IgniteCheckedExceptionpublic void removeX()
throws IgniteCheckedException
removeX in interface GridIterator<T>IgniteCheckedException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.17-p1 Release Date : November 27 2025