Package org.apache.calcite.rel.rules
Class PruneEmptyRules.PruneEmptyRule
java.lang.Object
org.apache.calcite.plan.RelOptRule
org.apache.calcite.plan.RelRule<PruneEmptyRules.PruneEmptyRule.Config>
org.apache.calcite.rel.rules.PruneEmptyRules.PruneEmptyRule
- All Implemented Interfaces:
- SubstitutionRule,- TransformationRule
- Direct Known Subclasses:
- PruneEmptyRules.RemoveEmptySingleRule
- Enclosing class:
- PruneEmptyRules
protected abstract static class PruneEmptyRules.PruneEmptyRule
extends RelRule<PruneEmptyRules.PruneEmptyRule.Config>
implements SubstitutionRule
Abstract prune empty rule that implements SubstitutionRule interface.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceRule configuration.Nested classes/interfaces inherited from class org.apache.calcite.plan.RelRuleRelRule.Done, RelRule.MatchHandler<R extends RelOptRule>, RelRule.OperandBuilder, RelRule.OperandDetailBuilder<R extends RelNode>, RelRule.OperandTransformNested classes/interfaces inherited from class org.apache.calcite.plan.RelOptRuleRelOptRule.ConverterRelOptRuleOperand
- 
Field SummaryFields inherited from class org.apache.calcite.plan.RelOptRuledescription, operands, relBuilderFactory
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotected
- 
Method SummaryModifier and TypeMethodDescriptionbooleanWhether the planner should automatically prune old node when there is at least 1 equivalent rel generated by the rule.Methods inherited from class org.apache.calcite.plan.RelOptRuleany, convert, convert, 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
- 
Constructor Details- 
PruneEmptyRule
 
- 
- 
Method Details- 
autoPruneOldpublic boolean autoPruneOld()Description copied from interface:SubstitutionRuleWhether the planner should automatically prune old node when there is at least 1 equivalent rel generated by the rule.Default is false, the user needs to prune the old node manually in the rule. - Specified by:
- autoPruneOldin interface- SubstitutionRule
 
 
-