Class GroupByRules
java.lang.Object
org.apache.druid.sql.calcite.rule.GroupByRules
-
Method Summary
Modifier and TypeMethodDescriptionstatic AggregationtranslateAggregateCall(PlannerContext plannerContext, RowSignature rowSignature, VirtualColumnRegistry virtualColumnRegistry, org.apache.calcite.rex.RexBuilder rexBuilder, InputAccessor inputAccessor, List<Aggregation> existingAggregations, String name, org.apache.calcite.rel.core.AggregateCall call, boolean finalizeAggregations) Translate an AggregateCall to Druid equivalents.
-
Method Details
-
translateAggregateCall
@Nullable public static Aggregation translateAggregateCall(PlannerContext plannerContext, RowSignature rowSignature, @Nullable VirtualColumnRegistry virtualColumnRegistry, org.apache.calcite.rex.RexBuilder rexBuilder, InputAccessor inputAccessor, List<Aggregation> existingAggregations, String name, org.apache.calcite.rel.core.AggregateCall call, boolean finalizeAggregations) Translate an AggregateCall to Druid equivalents.- Returns:
- translated aggregation, or null if translation failed.
-