Class ImplementCountDistinct
- java.lang.Object
-
- io.trino.plugin.pinot.query.aggregation.ImplementCountDistinct
-
- All Implemented Interfaces:
AggregateFunctionRule<AggregateExpression,Void>
public class ImplementCountDistinct extends Object implements 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 Constructor Description ImplementCountDistinct(Function<String,String> identifierQuote)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pattern<AggregateFunction>getPattern()Optional<AggregateExpression>rewrite(AggregateFunction aggregateFunction, Captures captures, AggregateFunctionRule.RewriteContext<Void> context)
-
-
-
Method Detail
-
getPattern
public Pattern<AggregateFunction> 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>
-
-