org.objectweb.speedo.query.api
Interface QueryManager

All Known Implementing Classes:
SpeedoQueryManager

public interface QueryManager

Is a manager of compiled query. It is responsible of CompiledQuery allocation and could implement a caching policy. The identifier of a query is a QueryDefinition.

Author:
S.Chassande-Barrioz

Method Summary
 CompiledQuery getQueryCompiler(QueryDefinition qd)
          Retrieves a CompiledQuery for a given QueryDefinition.
 

Method Detail

getQueryCompiler

public CompiledQuery getQueryCompiler(QueryDefinition qd)
Retrieves a CompiledQuery for a given QueryDefinition. The compiled query can be a new instance or not (caching).

Parameters:
qd - defines the expected query.
Returns:
a CompiledQuery instance (never null).