Package org.h2.command.query
Class Select.LazyResultGroupSorted
- java.lang.Object
-
- org.h2.result.FetchedResult
-
- org.h2.result.LazyResult
-
- org.h2.command.query.Select.LazyResultSelect
-
- org.h2.command.query.Select.LazyResultGroupSorted
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,ResultInterface
- Enclosing class:
- Select
private final class Select.LazyResultGroupSorted extends Select.LazyResultSelect
Lazy execution for a group sorted query.
-
-
Field Summary
Fields Modifier and Type Field Description private Value[]
previousKeyValues
-
Fields inherited from class org.h2.command.query.Select.LazyResultSelect
columnCount, rowNumber
-
-
Constructor Summary
Constructors Constructor Description LazyResultGroupSorted(Expression[] expressions, int columnCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Value[]
fetchNextRow()
Fetch next row or null if none available.void
reset()
Go to the beginning of the result, that means before the first row.-
Methods inherited from class org.h2.command.query.Select.LazyResultSelect
getVisibleColumnCount
-
Methods inherited from class org.h2.result.LazyResult
close, getAlias, getColumnName, getColumnType, getFetchSize, getNullable, getRowCount, getSchemaName, getTableName, hasNext, isClosed, isIdentity, isLazy, setFetchSize, setLimit, skip, skipNextRow
-
Methods inherited from class org.h2.result.FetchedResult
createShallowCopy, currentRow, getRowId, isAfterLast, needToClose, next
-
-
-
-
Field Detail
-
previousKeyValues
private Value[] previousKeyValues
-
-
Constructor Detail
-
LazyResultGroupSorted
LazyResultGroupSorted(Expression[] expressions, int columnCount)
-
-
Method Detail
-
reset
public void reset()
Description copied from interface:ResultInterface
Go to the beginning of the result, that means before the first row.- Specified by:
reset
in interfaceResultInterface
- Overrides:
reset
in classSelect.LazyResultSelect
-
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
-
-