Class FilterToCalcRule

All Implemented Interfaces:
TransformationRule

@Enclosing public class FilterToCalcRule extends RelRule<FilterToCalcRule.Config> implements TransformationRule
Planner rule that converts a LogicalFilter to a LogicalCalc.

The rule does NOT fire if the child is a LogicalFilter or a LogicalProject (we assume that they will be converted using FilterToCalcRule or ProjectToCalcRule) or a LogicalCalc. This LogicalFilter will eventually be converted by FilterCalcMergeRule.

See Also: