org.modeshape.graph.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


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