org.qi4j.api.query
Interface QueryBuilderFactory


public interface QueryBuilderFactory

This is used to create QueryBuilders.

See Also:
QueryBuilder

Method Summary
<T> Query<T>
newNamedQuery(Class<T> resultType, UnitOfWork unitOfWork, String name)
           
<T> QueryBuilder<T>
newQueryBuilder(Class<T> resultType)
          Create a new QueryBuilder.
 

Method Detail

newQueryBuilder

<T> QueryBuilder<T> newQueryBuilder(Class<T> resultType)
                                throws MissingIndexingSystemException
Create a new QueryBuilder.

Parameters:
resultType - the type of the result that you want
Returns:
a QueryBuilder
Throws:
MissingIndexingSystemException - if there is no EntityFinder service available

newNamedQuery

<T> Query<T> newNamedQuery(Class<T> resultType,
                           UnitOfWork unitOfWork,
                           String name)