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
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault PruneEmptyRules.PruneEmptyRuletoRule()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.ConfigCreates a rule that uses this configuration. Sub-class must override.- Specified by:
toRulein interfacePruneEmptyRules.PruneEmptyRule.Config- Specified by:
toRulein interfaceRelRule.Config
-