Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.jcr.query.optimize
Interface Optimizer

All Known Implementing Classes:
  RuleBasedOptimizer

    public interface Optimizer

Interface for an optimizer.

Method Summary
`PlanNode` | `optimize(QueryContext context, PlanNode plan)` Optimize the supplied query plan and produce an executable processor plan.

Method Detail

### optimize

    PlanNode optimize(QueryContext context,
                      PlanNode plan)

  Optimize the supplied query plan and produce an executable processor plan.

  Parameters:
    `context` - the context in which the query is being optimized
    `plan` - the query plan to be optimized
  Returns:
    the optimized query plan; never null

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.