org.xcmis.search.query.optimize
Interface OptimizerCriteria

All Known Implementing Classes:
PushWhereCriteria

public interface OptimizerCriteria

Interface that defines an Optimizer criteria.


Method Summary
 QueryExecutionPlan execute(QueryExecutionContext context, QueryExecutionPlan plan, LinkedList<OptimizerCriteria> criteriaStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 

Method Detail

execute

QueryExecutionPlan execute(QueryExecutionContext context,
                           QueryExecutionPlan plan,
                           LinkedList<OptimizerCriteria> criteriaStack)
Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.

Parameters:
context - the context in which the query is being optimized; never null
plan - the plan to be optimized; never null
criteriaStack - the stack of rules that will be run after this rule; never null
Returns:
the optimized plan; never null


Copyright © 2011 eXo Platform SAS. All Rights Reserved.