4.3.3.3 QueryBuilder

QueryBuilder represents a factory for queries.

4.3.3.3.1 Synopsis
 public interface QueryBuilder {
// Public Methods  public abstract QueryDomainType<T> createQueryDefinition(Class<T> cls);
}
4.3.3.3.2 createQueryDefinition(Class<T>)
public abstract QueryDomainType<T> createQueryDefinition(Class<T> cls);

Create a QueryDefinition to define queries.

Table 4.111 createQueryDefinition(Class<T>)

Parameter Description
cls the class of the type to be queried
return the QueryDomainType to define the query