Package org.apache.calcite.rel.rules
Interface PruneEmptyRules.RemoveEmptySingleRule.RemoveEmptySingleRuleConfig
- All Superinterfaces:
PruneEmptyRules.PruneEmptyRule.Config
,RelRule.Config
- Enclosing class:
PruneEmptyRules.RemoveEmptySingleRule
@Immutable
public static interface PruneEmptyRules.RemoveEmptySingleRule.RemoveEmptySingleRuleConfig
extends PruneEmptyRules.PruneEmptyRule.Config
Rule configuration.
-
Field Summary
Modifier and TypeFieldDescription -
Method Summary
Modifier and TypeMethodDescriptiontoRule()
Creates a rule that uses this configuration.default <R extends RelNode>
PruneEmptyRules.RemoveEmptySingleRule.RemoveEmptySingleRuleConfigwithOperandFor
(Class<R> relClass, Predicate<R> predicate) Defines an operand tree for the given classes.Methods inherited from interface org.apache.calcite.plan.RelRule.Config
as, description, operandSupplier, relBuilderFactory, withDescription, withOperandSupplier, withRelBuilderFactory
-
Field Details
-
PROJECT
-
FILTER
-
SORT
-
AGGREGATE
-
-
Method Details
-
toRule
Description copied from interface:RelRule.Config
Creates a rule that uses this configuration. Sub-class must override.- Specified by:
toRule
in interfacePruneEmptyRules.PruneEmptyRule.Config
- Specified by:
toRule
in interfaceRelRule.Config
-
withOperandFor
default <R extends RelNode> PruneEmptyRules.RemoveEmptySingleRule.RemoveEmptySingleRuleConfig withOperandFor(Class<R> relClass, Predicate<R> predicate) Defines an operand tree for the given classes.
-