org.modeshape.jcr.query.optimize

## Interface Optimizer

- All Known Implementing Classes:
    RuleBasedOptimizer

      public interface Optimizer

  Interface for an optimizer.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

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