GroupClause
An intermediate class used in the group operation.
This class itself does nothing—it is just a transitional step before specifying how to group the selected columns. It must be followed by one of the positioning methods to produce a new DataFrame with the updated column structure.
Use the following methods to finalize the grouping:
into(groupName)– groups selected columns into a single column group.into { groupNameExpression }– groups each column into a group by specifying path or name.
See Grammar for more details.
Properties
Functions
Groups columns, previously selected with group, into new or existing column groups within the DataFrame, using a ColumnsSelectionDsl expression to specify the target group name for each column. The expression is applied to each selected column and determines the name of the column group it will be placed into.
Groups columns, previously selected with group, into a new or existing column group within the DataFrame by specifying its path via ColumnsSelectionDsl expression.