org.xcmis.search.query.plan
Interface Optimizer

All Known Implementing Classes:
CriteriaBasedOptimizer

public interface Optimizer

Interface for an optimizer.


Method Summary
 QueryExecutionPlan optimize(QueryExecutionContext context, QueryExecutionPlan plan)
          Optimize the supplied query plan and produce an executable processor plan.
 

Method Detail

optimize

QueryExecutionPlan optimize(QueryExecutionContext context,
                            QueryExecutionPlan 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 © 2011 eXo Platform SAS. All Rights Reserved.