Class ImplementAvg
java.lang.Object
io.trino.plugin.pinot.query.aggregation.ImplementAvg
- All Implemented Interfaces:
AggregateFunctionRule<AggregateExpression,Void>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.trino.plugin.base.aggregation.AggregateFunctionRule
AggregateFunctionRule.RewriteContext<ExpressionResult extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrewrite(AggregateFunction aggregateFunction, Captures captures, AggregateFunctionRule.RewriteContext<Void> context)
-
Constructor Details
-
ImplementAvg
-
-
Method Details
-
getPattern
- Specified by:
getPatternin interfaceAggregateFunctionRule<AggregateExpression,Void>
-
rewrite
public Optional<AggregateExpression> rewrite(AggregateFunction aggregateFunction, Captures captures, AggregateFunctionRule.RewriteContext<Void> context) - Specified by:
rewritein interfaceAggregateFunctionRule<AggregateExpression,Void>
-