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 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 booleanSkip next row.Methods inherited from class Select.LazyResultSelect
getVisibleColumnCount, resetMethods inherited from class LazyResult
close, getAlias, getColumnName, getColumnType, getFetchSize, getNullable, getRowCount, getSchemaName, getTableName, hasNext, isClosed, isIdentity, isLazy, setFetchSize, setLimit, skipMethods inherited from class 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:LazyResultFetch next row or null if none available.- Specified by:
fetchNextRowin classLazyResult- Returns:
- next row or null
-
skipNextRow
protected boolean skipNextRow()Description copied from class:LazyResultSkip next row.- Overrides:
skipNextRowin classLazyResult- Returns:
- true if next row was available
-