org.modeshape.jcr.query.optimize
Interface Optimizer
- All Known Implementing Classes:
- RuleBasedOptimizer
public interface Optimizer
Interface for an optimizer.
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 optimizedplan
- 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.