public interface

QueryOptimizer

com.atlassian.jira.issue.search.util.QueryOptimizer
Known Indirect Subclasses

Class Overview

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

Summary

Public Methods
Query optimizeQuery(Query query)
Optimize a Query

Public Methods

public Query optimizeQuery (Query query)

Optimize a Query

Parameters
query the query to optimize
Returns
  • the optimized query