| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Immutable public interface OptimizerRule

Interface that defines an Optimizer rule.
| Method Summary | |
|---|---|
|  PlanNode | execute(QueryContext context,
        PlanNode plan,
        LinkedList<OptimizerRule> ruleStack)Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules. | 
| Method Detail | 
|---|
PlanNode execute(QueryContext context,
                 PlanNode plan,
                 LinkedList<OptimizerRule> ruleStack)
context - the context in which the query is being optimized; never nullplan - the plan to be optimized; never nullruleStack - the stack of rules that will be run after this rule; never null
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||