org.teiid.query.optimizer.relational.rules
Class RuleRemoveOptionalJoins
java.lang.Object
org.teiid.query.optimizer.relational.rules.RuleRemoveOptionalJoins
- All Implemented Interfaces:
- OptimizerRule
public class RuleRemoveOptionalJoins
- extends Object
- implements OptimizerRule
Removes optional join nodes if elements originating from that join are not used in the
top level project symbols.
RuleRemoveOptionalJoins
public RuleRemoveOptionalJoins()
execute
public PlanNode execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
throws QueryPlannerException,
QueryMetadataException,
TeiidComponentException
- Specified by:
execute
in interface OptimizerRule
- Throws:
QueryPlannerException
QueryMetadataException
TeiidComponentException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012. All Rights Reserved.