Class RulePushLimit
- java.lang.Object
-
- org.teiid.query.optimizer.relational.rules.RulePushLimit
-
- All Implemented Interfaces:
OptimizerRule
public class RulePushLimit extends Object implements OptimizerRule
Pushes limit nodes to their lowest points. This rule should only be run once. Should be run after all access nodes have been raised
-
-
Constructor Summary
Constructors Constructor Description RulePushLimit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlanNodeexecute(PlanNode plan, QueryMetadataInterface metadata, CapabilitiesFinder capabilitiesFinder, RuleStack rules, AnalysisRecord analysisRecord, CommandContext context)StringtoString()
-
-
-
Method Detail
-
execute
public PlanNode execute(PlanNode plan, QueryMetadataInterface metadata, CapabilitiesFinder capabilitiesFinder, RuleStack rules, AnalysisRecord analysisRecord, CommandContext context) throws QueryPlannerException, QueryMetadataException, TeiidComponentException
- Specified by:
executein interfaceOptimizerRule- Throws:
QueryPlannerExceptionQueryMetadataExceptionTeiidComponentException- See Also:
OptimizerRule.execute(org.teiid.query.optimizer.relational.plantree.PlanNode, org.teiid.query.metadata.QueryMetadataInterface, org.teiid.query.optimizer.capabilities.CapabilitiesFinder, org.teiid.query.optimizer.relational.RuleStack, org.teiid.query.analysis.AnalysisRecord, org.teiid.query.util.CommandContext)
-
toString
public String toString()
- Overrides:
toStringin classObject- See Also:
Object.toString()
-
-