com.atlassian.jira.issue.search.util
Interface QueryOptimizer
- All Known Implementing Classes:
- RedundantClausesQueryOptimizer
public interface QueryOptimizer
An interface for a Query Optimizer which performs operations on a query which don't change the semantic of the query,
but optimize the structure of the query.
E.g.: Remove redundant clauses
- Since:
- v4.0
optimizeQuery
Query optimizeQuery(Query query)
- Optimize a
Query
- Parameters:
query
- the query to optimize
- Returns:
- the optimized query
Copyright © 2002-2011 Atlassian. All Rights Reserved.