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:
java.lang.AutoCloseable
,ResultInterface
- Enclosing class:
- Select
private final class Select.LazyResultQueryFlat extends Select.LazyResultSelect
Lazy execution for a flat query.
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
forUpdate
-
Fields inherited from class org.h2.command.query.Select.LazyResultSelect
columnCount, rowNumber
-
-
Constructor Summary
Constructors Constructor Description LazyResultQueryFlat(Expression[] expressions, int columnCount, boolean forUpdate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Value[]
fetchNextRow()
Fetch next row or null if none available.protected boolean
skipNextRow()
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
-
-
-
-
Constructor Detail
-
LazyResultQueryFlat
LazyResultQueryFlat(Expression[] expressions, int columnCount, boolean forUpdate)
-
-
Method Detail
-
fetchNextRow
protected Value[] 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
-
-