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
  • Method Summary

    Modifier and Type
    Method
    Description
    Optimize a Query
  • Method Details

    • optimizeQuery

      Query optimizeQuery(Query query)
      Optimize a Query
      Parameters:
      query - the query to optimize
      Returns:
      the optimized query