Package org.h2.command.query
Class SelectGroups.Plain
java.lang.Object
org.h2.command.query.SelectGroups
org.h2.command.query.SelectGroups.Plain
- Enclosing class:
SelectGroups
-
Field Summary
FieldsFields inherited from class org.h2.command.query.SelectGroups
currentGroupByExprData, currentGroupRowId, expressions, session
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
done()
Invoked after all source rows are evaluated.next()
Returns the key of the next group.void
Invoked for each source row to evaluate group key and setup all necessary data for aggregates.void
reset()
Resets this group data for reuse.(package private) void
Update group-by data specified by implementation.Methods inherited from class org.h2.command.query.SelectGroups
createRow, getCurrentGroupExprData, getCurrentGroupRowId, getInstance, getWindowExprData, isCurrentGroup, nextLazyGroup, nextLazyRow, remove, resetLazy, setCurrentGroupExprData, setWindowExprData
-
Field Details
-
rows
-
cursor
Cursor fornext()
method.
-
-
Constructor Details
-
Plain
Plain(SessionLocal session, ArrayList<Expression> expressions)
-
-
Method Details
-
reset
public void reset()Description copied from class:SelectGroups
Resets this group data for reuse.- Overrides:
reset
in classSelectGroups
-
nextSource
public void nextSource()Description copied from class:SelectGroups
Invoked for each source row to evaluate group key and setup all necessary data for aggregates.- Specified by:
nextSource
in classSelectGroups
-
updateCurrentGroupExprData
void updateCurrentGroupExprData()Description copied from class:SelectGroups
Update group-by data specified by implementation.- Specified by:
updateCurrentGroupExprData
in classSelectGroups
-
done
public void done()Description copied from class:SelectGroups
Invoked after all source rows are evaluated.- Overrides:
done
in classSelectGroups
-
next
Description copied from class:SelectGroups
Returns the key of the next group.- Specified by:
next
in classSelectGroups
- Returns:
- the key of the next group, or null
-