Package org.h2.command.query
Class Select.LazyResultQueryFlat
java.lang.Object
org.h2.result.FetchedResult
org.h2.result.LazyResult
org.h2.command.query.Select.LazyResultSelect
org.h2.command.query.Select.LazyResultQueryFlat
- All Implemented Interfaces:
AutoCloseable
,ResultInterface
- Enclosing class:
Select
Lazy execution for a flat query.
-
Field Summary
FieldsFields inherited from class org.h2.command.query.Select.LazyResultSelect
columnCount, rowNumber
-
Constructor Summary
ConstructorsConstructorDescriptionLazyResultQueryFlat
(Expression[] expressions, int columnCount, boolean forUpdate) -
Method Summary
Modifier and TypeMethodDescriptionprotected Value[]
Fetch next row or null if none available.protected boolean
Skip next row.Methods inherited from class org.h2.command.query.Select.LazyResultSelect
getVisibleColumnCount, reset
Methods inherited from class org.h2.result.LazyResult
close, getAlias, getColumnName, getColumnType, getFetchSize, getNullable, getRowCount, getSchemaName, getTableName, hasNext, isClosed, isIdentity, isLazy, setFetchSize, setLimit, skip
Methods inherited from class org.h2.result.FetchedResult
createShallowCopy, currentRow, getRowId, isAfterLast, needToClose, next
-
Field Details
-
forUpdate
private boolean forUpdate
-
-
Constructor Details
-
LazyResultQueryFlat
LazyResultQueryFlat(Expression[] expressions, int columnCount, boolean forUpdate)
-
-
Method Details
-
fetchNextRow
Description copied from class:LazyResult
Fetch next row or null if none available.- Specified by:
fetchNextRow
in classLazyResult
- Returns:
- next row or null
-
skipNextRow
protected boolean skipNextRow()Description copied from class:LazyResult
Skip next row.- Overrides:
skipNextRow
in classLazyResult
- Returns:
- true if next row was available
-