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 SelectGroups
currentGroupByExprData, currentGroupRowId, expressions, session -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddone()Invoked after all source rows are evaluated.next()Returns the key of the next group.voidInvoked for each source row to evaluate group key and setup all necessary data for aggregates.voidreset()Resets this group data for reuse.(package private) voidUpdate group-by data specified by implementation.Methods inherited from class SelectGroups
createRow, getCurrentGroupExprData, getCurrentGroupRowId, getInstance, getWindowExprData, isCurrentGroup, nextLazyGroup, nextLazyRow, remove, resetLazy, setCurrentGroupExprData, setWindowExprData
-
Field Details
-
rows
-
cursor
-
-
Constructor Details
-
Plain
Plain(SessionLocal session, ArrayList<Expression> expressions)
-
-
Method Details
-
reset
public void reset()Description copied from class:SelectGroupsResets this group data for reuse.- Overrides:
resetin classSelectGroups
-
nextSource
public void nextSource()Description copied from class:SelectGroupsInvoked for each source row to evaluate group key and setup all necessary data for aggregates.- Specified by:
nextSourcein classSelectGroups
-
updateCurrentGroupExprData
void updateCurrentGroupExprData()Description copied from class:SelectGroupsUpdate group-by data specified by implementation.- Specified by:
updateCurrentGroupExprDatain classSelectGroups
-
done
public void done()Description copied from class:SelectGroupsInvoked after all source rows are evaluated.- Overrides:
donein classSelectGroups
-
next
Description copied from class:SelectGroupsReturns the key of the next group.- Specified by:
nextin classSelectGroups- Returns:
- the key of the next group, or null
-