Class DruidAggregateRule

java.lang.Object
org.apache.calcite.plan.RelOptRule
org.apache.calcite.plan.RelRule<org.apache.calcite.rel.convert.ConverterRule.Config>
org.apache.calcite.rel.convert.ConverterRule
org.apache.druid.sql.calcite.rule.logical.DruidAggregateRule

public class DruidAggregateRule extends org.apache.calcite.rel.convert.ConverterRule
ConverterRule to convert Aggregate to DruidAggregate
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.calcite.rel.convert.ConverterRule

    org.apache.calcite.rel.convert.ConverterRule.Config

    Nested classes/interfaces inherited from class org.apache.calcite.plan.RelRule

    org.apache.calcite.plan.RelRule.Done, org.apache.calcite.plan.RelRule.MatchHandler<R extends org.apache.calcite.plan.RelOptRule>, org.apache.calcite.plan.RelRule.OperandBuilder, org.apache.calcite.plan.RelRule.OperandDetailBuilder<R extends org.apache.calcite.rel.RelNode>, org.apache.calcite.plan.RelRule.OperandTransform

    Nested classes/interfaces inherited from class org.apache.calcite.plan.RelOptRule

    org.apache.calcite.plan.RelOptRule.ConverterRelOptRuleOperand
  • Field Summary

    Fields inherited from class org.apache.calcite.rel.convert.ConverterRule

    out

    Fields inherited from class org.apache.calcite.plan.RelRule

    config

    Fields inherited from class org.apache.calcite.plan.RelOptRule

    description, operands, relBuilderFactory
  • Constructor Summary

    Constructors
    Constructor
    Description
    DruidAggregateRule(Class<? extends org.apache.calcite.rel.RelNode> clazz, org.apache.calcite.plan.RelTrait in, org.apache.calcite.plan.RelTrait out, String descriptionPrefix, PlannerContext plannerContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.calcite.rel.RelNode
    convert(org.apache.calcite.rel.RelNode rel)
     

    Methods inherited from class org.apache.calcite.rel.convert.ConverterRule

    getInTrait, getOutConvention, getOutTrait, getTraitDef, isGuaranteed, onMatch

    Methods inherited from class org.apache.calcite.plan.RelOptRule

    any, convert, convert, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, hashCode, matches, none, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unordered

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DruidAggregateRule

      public DruidAggregateRule(Class<? extends org.apache.calcite.rel.RelNode> clazz, org.apache.calcite.plan.RelTrait in, org.apache.calcite.plan.RelTrait out, String descriptionPrefix, PlannerContext plannerContext)
  • Method Details

    • convert

      public org.apache.calcite.rel.RelNode convert(org.apache.calcite.rel.RelNode rel)
      Specified by:
      convert in class org.apache.calcite.rel.convert.ConverterRule