Package org.h2.command.query
Class Select.LazyResultSelect
- java.lang.Object
-
- org.h2.result.FetchedResult
-
- org.h2.result.LazyResult
-
- org.h2.command.query.Select.LazyResultSelect
-
- All Implemented Interfaces:
java.lang.AutoCloseable,ResultInterface
- Direct Known Subclasses:
Select.LazyResultGroupSorted,Select.LazyResultQueryFlat
- Enclosing class:
- Select
private abstract class Select.LazyResultSelect extends LazyResult
Lazy execution for this select.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) intcolumnCount(package private) longrowNumber
-
Constructor Summary
Constructors Constructor Description LazyResultSelect(Expression[] expressions, int columnCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetVisibleColumnCount()Get the number of visible columns.voidreset()Go to the beginning of the result, that means before the first row.-
Methods inherited from class org.h2.result.LazyResult
close, fetchNextRow, 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
-
-
-
-
Constructor Detail
-
LazyResultSelect
LazyResultSelect(Expression[] expressions, int columnCount)
-
-
Method Detail
-
getVisibleColumnCount
public final int getVisibleColumnCount()
Description copied from interface:ResultInterfaceGet the number of visible columns. More columns may exist internally for sorting or grouping.- Returns:
- the number of columns
-
reset
public void reset()
Description copied from interface:ResultInterfaceGo to the beginning of the result, that means before the first row.- Specified by:
resetin interfaceResultInterface- Overrides:
resetin classLazyResult
-
-