Class FilterByAggregateTransformation
java.lang.Object
com.sap.cds.adapter.odata.v4.query.apply.FilterByAggregateTransformation
- All Implemented Interfaces:
Transformation
,Function<com.sap.cds.ql.Select<?>,
,com.sap.cds.ql.Select<?>> UnaryOperator<com.sap.cds.ql.Select<?>>
Support "filtering on leaf level" - retain only those rows from the input set
which belong to a group of dimensions where aggregated values match a given
filter.
-
Constructor Summary
ConstructorsConstructorDescriptionFilterByAggregateTransformation
(List<GroupByItem> gByItems, Expression filter, ExpressionParser expressionParser) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sap.cds.adapter.odata.v4.query.apply.Transformation
requiresWrapping
-
Constructor Details
-
FilterByAggregateTransformation
public FilterByAggregateTransformation(List<GroupByItem> gByItems, Expression filter, ExpressionParser expressionParser)
-
-
Method Details
-
apply
public com.sap.cds.ql.Select<?> apply(com.sap.cds.ql.Select<?> select) -
rank
public int rank()- Specified by:
rank
in interfaceTransformation
-