Class DrillReduceExpressionsRule

java.lang.Object
org.apache.calcite.plan.RelOptRule
org.apache.calcite.plan.RelRule<C>
org.apache.calcite.rel.rules.ReduceExpressionsRule<org.apache.calcite.rel.rules.ReduceExpressionsRule.Config>
org.apache.drill.exec.planner.logical.DrillReduceExpressionsRule
All Implemented Interfaces:
org.apache.calcite.rel.rules.SubstitutionRule, org.apache.calcite.rel.rules.TransformationRule

public abstract class DrillReduceExpressionsRule extends org.apache.calcite.rel.rules.ReduceExpressionsRule<org.apache.calcite.rel.rules.ReduceExpressionsRule.Config>
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.calcite.rel.rules.ReduceExpressionsRule

    org.apache.calcite.rel.rules.ReduceExpressionsRule.CalcReduceExpressionsRule, org.apache.calcite.rel.rules.ReduceExpressionsRule.CaseShuttle, org.apache.calcite.rel.rules.ReduceExpressionsRule.Config, org.apache.calcite.rel.rules.ReduceExpressionsRule.FilterReduceExpressionsRule, org.apache.calcite.rel.rules.ReduceExpressionsRule.JoinReduceExpressionsRule, org.apache.calcite.rel.rules.ReduceExpressionsRule.ProjectReduceExpressionsRule, org.apache.calcite.rel.rules.ReduceExpressionsRule.ReducibleExprLocator, org.apache.calcite.rel.rules.ReduceExpressionsRule.RexReplacer, org.apache.calcite.rel.rules.ReduceExpressionsRule.WindowReduceExpressionsRule

    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
    Modifier and Type
    Field
    Description
    static final org.apache.drill.exec.planner.logical.DrillReduceExpressionsRule.DrillReduceCalcRule
     
    static final org.apache.drill.exec.planner.logical.DrillReduceExpressionsRule.DrillReduceFilterRule
     
    static final org.apache.drill.exec.planner.logical.DrillReduceExpressionsRule.DrillReduceProjectRule
     

    Fields inherited from class org.apache.calcite.rel.rules.ReduceExpressionsRule

    EXCLUSION_PATTERN

    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
    Modifier
    Constructor
    Description
    protected
    DrillReduceExpressionsRule(org.apache.calcite.rel.rules.ReduceExpressionsRule.Config config)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static boolean
    reduceExpressionsNoSimplify(org.apache.calcite.rel.RelNode rel, List<org.apache.calcite.rex.RexNode> expList, org.apache.calcite.plan.RelOptPredicateList predicates, boolean unknownAsFalse, boolean treatDynamicCallsAsConstant)
     

    Methods inherited from class org.apache.calcite.rel.rules.ReduceExpressionsRule

    findReducibleExps, predicateConstants, pushPredicateIntoCase, reduceExpressions, reduceExpressions, reduceExpressions, reduceExpressionsInternal, substitute

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

    any, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, matches, none, onMatch, 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

    Methods inherited from interface org.apache.calcite.rel.rules.SubstitutionRule

    autoPruneOld
  • Field Details

    • FILTER_INSTANCE_DRILL

      public static final org.apache.drill.exec.planner.logical.DrillReduceExpressionsRule.DrillReduceFilterRule FILTER_INSTANCE_DRILL
    • CALC_INSTANCE_DRILL

      public static final org.apache.drill.exec.planner.logical.DrillReduceExpressionsRule.DrillReduceCalcRule CALC_INSTANCE_DRILL
    • PROJECT_INSTANCE_DRILL

      public static final org.apache.drill.exec.planner.logical.DrillReduceExpressionsRule.DrillReduceProjectRule PROJECT_INSTANCE_DRILL
  • Constructor Details

    • DrillReduceExpressionsRule

      protected DrillReduceExpressionsRule(org.apache.calcite.rel.rules.ReduceExpressionsRule.Config config)
  • Method Details

    • reduceExpressionsNoSimplify

      protected static boolean reduceExpressionsNoSimplify(org.apache.calcite.rel.RelNode rel, List<org.apache.calcite.rex.RexNode> expList, org.apache.calcite.plan.RelOptPredicateList predicates, boolean unknownAsFalse, boolean treatDynamicCallsAsConstant)