Interface CqnGroupByTransformation
- All Superinterfaces:
CqnTransformation
,JSONizable
Transformation that groups the result set according to specified dimensions
and applies given transformations to each group.
The result set is the grouped input set after applying the transformations.
Two scenarios are common:
1. the list of transformations is empty -> the output set contains the
distinct values of the dimensions
2. a single
aggregate
transformation is
specified -> the output set contains the aggregated values per dimension-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sap.cds.ql.cqn.transformation.CqnTransformation
CqnTransformation.Kind
-
Field Summary
Fields inherited from interface com.sap.cds.ql.cqn.transformation.CqnTransformation
IDENTITY
-
Method Summary
Modifier and TypeMethodDescriptionReturns the dimensions by which the input set is grouped.default CqnTransformation.Kind
kind()
Returns the kind of this transformationdefault List<CqnTransformation>
Returns the pipeline of transformations, which is applied to the grouped input set.Methods inherited from interface com.sap.cds.ql.cqn.transformation.CqnTransformation
rowType, toJson
-
Method Details
-
dimensions
List<CqnElementRef> dimensions()Returns the dimensions by which the input set is grouped.- Returns:
- the dimensions by which the input set is grouped.
-
transformations
Returns the pipeline of transformations, which is applied to the grouped input set.- Returns:
- the pipeline of transformations
-
kind
Description copied from interface:CqnTransformation
Returns the kind of this transformation- Specified by:
kind
in interfaceCqnTransformation
- Returns:
- the kind of this transformation
-