Package org.apache.calcite.rel.rules
Interface PruneEmptyRules.ZeroMaxRowsRuleConfig
- All Superinterfaces:
PruneEmptyRules.PruneEmptyRule.Config
,RelRule.Config
- Enclosing class:
PruneEmptyRules
@Immutable
public static interface PruneEmptyRules.ZeroMaxRowsRuleConfig
extends PruneEmptyRules.PruneEmptyRule.Config
Configuration for rule that transforms an empty relational expression into
an empty values.
It relies on RelMdMaxRowCount
to
derive if the relation is empty or not. If the stats are not available then
the rule is a noop.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault PruneEmptyRules.PruneEmptyRule
toRule()
Creates a rule that uses this configuration.Methods inherited from interface org.apache.calcite.plan.RelRule.Config
as, description, operandSupplier, relBuilderFactory, withDescription, withOperandSupplier, withRelBuilderFactory
-
Field Details
-
DEFAULT
-
-
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
-