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:
AutoCloseable,ResultInterface
- Direct Known Subclasses:
Select.LazyResultGroupSorted,Select.LazyResultQueryFlat
- Enclosing class:
Select
Lazy execution for this select.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int(package private) long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intGet 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, skipNextRowMethods inherited from class org.h2.result.FetchedResult
createShallowCopy, currentRow, getRowId, isAfterLast, needToClose, next
-
Field Details
-
rowNumber
long rowNumber -
columnCount
int columnCount
-
-
Constructor Details
-
LazyResultSelect
LazyResultSelect(Expression[] expressions, int columnCount)
-
-
Method Details
-
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
-