Class H2FieldsIterator
- java.lang.Object
-
- org.apache.ignite.internal.util.lang.GridIteratorAdapter<T>
-
- org.apache.ignite.internal.processors.query.h2.H2ResultSetIterator<List<?>>
-
- org.apache.ignite.internal.processors.query.h2.H2FieldsIterator
-
- All Implemented Interfaces:
Serializable,AutoCloseable,Iterable<List<?>>,Iterator<List<?>>,GridSerializableIterator<List<?>>,GridCloseableIterator<List<?>>,GridIterator<List<?>>,IgniteSpiCloseableIterator<List<?>>
public class H2FieldsIterator extends H2ResultSetIterator<List<?>>
Special field set iterator based on database result set.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.ignite.internal.processors.query.h2.H2ResultSetIterator
row, tracing
-
-
Constructor Summary
Constructors Constructor Description H2FieldsIterator(ResultSet data, H2PooledConnection conn, int pageSize, IgniteLogger log, IgniteH2Indexing h2, H2QueryInfo qryInfo, Tracing tracing)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<?>createRow()voidonClose()-
Methods inherited from class org.apache.ignite.internal.processors.query.h2.H2ResultSetIterator
close, hasNextX, isClosed, lockTables, nextX, removeX, toString, unlockTables
-
Methods inherited from class org.apache.ignite.internal.util.lang.GridIteratorAdapter
hasNext, iterator, next, remove
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
-
-
-
Constructor Detail
-
H2FieldsIterator
public H2FieldsIterator(ResultSet data, H2PooledConnection conn, int pageSize, IgniteLogger log, IgniteH2Indexing h2, H2QueryInfo qryInfo, Tracing tracing) throws IgniteCheckedException
- Parameters:
data- Data.pageSize- Page size.conn- Connection.tracing- Tracing processor.- Throws:
IgniteCheckedException- If failed.
-
-
Method Detail
-
createRow
protected List<?> createRow()
- Specified by:
createRowin classH2ResultSetIterator<List<?>>- Returns:
- Row.
-
onClose
public void onClose() throws IgniteCheckedException- Overrides:
onClosein classH2ResultSetIterator<List<?>>- Throws:
IgniteCheckedException- On error.
-
-