Class ProjectToCalcRule

All Implemented Interfaces:
TransformationRule
Direct Known Subclasses:
EnumerableProjectToCalcRule

@Enclosing public class ProjectToCalcRule extends RelRule<ProjectToCalcRule.Config> implements TransformationRule
Rule to convert a LogicalProject to a LogicalCalc.

The rule does not fire if the child is a LogicalProject, LogicalFilter or LogicalCalc. If it did, then the same LogicalCalc would be formed via several transformation paths, which is a waste of effort.

See Also: