Uses of Interface
org.apache.openjpa.persistence.query.QueryDefinition
Packages that use QueryDefinition
Package
Description
OpenJPA JPA
OpenJPA Dynamic Query
-
Uses of QueryDefinition in org.apache.openjpa.persistence
Methods in org.apache.openjpa.persistence with parameters of type QueryDefinitionModifier and TypeMethodDescriptionEntityManagerImpl.createDynamicQuery(QueryDefinition qdef) OpenJPAEntityManager.createDynamicQuery(QueryDefinition dynamic) Create an executable query from a dynamically defined query. -
Uses of QueryDefinition in org.apache.openjpa.persistence.query
Subinterfaces of QueryDefinition in org.apache.openjpa.persistence.queryModifier and TypeInterfaceDescriptioninterfaceDomain objects define the domain over which a query operates.Classes in org.apache.openjpa.persistence.query that implement QueryDefinitionModifier and TypeClassDescriptionclassDomain Object is a path expression over which query is evaluated.classDenotes ENTRY(e) on a path.classDenotes a path used in fetch join.classPath resulting by joining from a parent path via an attribute.classDenotes KEY(e) Expression.classA path resulting from KEY() or VALUE() operation on an existing path.classImplements QueryDefinition.classDenotes root domain instance representing a persistent type.classDenotes VALUE(e) Expression.Methods in org.apache.openjpa.persistence.query that return QueryDefinitionModifier and TypeMethodDescriptionOpenJPAQueryBuilder.createQueryDefinition(String jpql) Create a QueryDefinition from the given JPQL String.OpenJPAQueryBuilder.createQueryDefinition(Query jpql) Create a QueryDefinition from the given OpenJPA Query instance.QueryBuilder.createQueryDefinition()Create an uninitialized query definition object.QueryBuilderImpl.createQueryDefinition()Creates a QueryDefinition without a domain.QueryBuilderImpl.createQueryDefinition(String jpql) QueryBuilderImpl.createQueryDefinition(Query jpql) AbstractDomainObject.groupBy(List<PathExpression> pathExprList) AbstractDomainObject.groupBy(PathExpression... pathExprs) QueryDefinition.groupBy(List<PathExpression> pathExprList) Specify the items that are used to form groups over the query results.QueryDefinition.groupBy(PathExpression... pathExprs) Specify the items that are used to form groups over the query results.QueryDefinitionImpl.groupBy(List<PathExpression> pathExprList) QueryDefinitionImpl.groupBy(PathExpression... pathExprs) Specify the restrictions over the groups of a query.AbstractDomainObject.orderBy(List<OrderByItem> orderByItemList) AbstractDomainObject.orderBy(OrderByItem... orderByItems) QueryDefinition.orderBy(List<OrderByItem> orderByItemList) Specify the items of the select list that are used in ordering the query results.QueryDefinition.orderBy(OrderByItem... orderByItems) Specify the items of the select list that are used in ordering the query results.QueryDefinitionImpl.orderBy(List<OrderByItem> orderByItemList) QueryDefinitionImpl.orderBy(OrderByItem... orderByItems) AbstractDomainObject.select(List<SelectItem> selectItemList) AbstractDomainObject.select(SelectItem... selectItems) QueryDefinition.select(List<SelectItem> selectItemList) Specify the objects / values to be returned.QueryDefinition.select(SelectItem... selectItems) Specify the objects / values to be returned.QueryDefinitionImpl.select(List<SelectItem> items) QueryDefinitionImpl.select(SelectItem... items) AbstractDomainObject.selectDistinct(List<SelectItem> selectItemList) AbstractDomainObject.selectDistinct(SelectItem... selectItems) QueryDefinition.selectDistinct(List<SelectItem> selectItemList) Specify the objects / values to be returned.QueryDefinition.selectDistinct(SelectItem... selectItems) Specify the objects / values to be returned.QueryDefinitionImpl.selectDistinct(List<SelectItem> items) QueryDefinitionImpl.selectDistinct(SelectItem... items) Modifies the query definition to restrict the result of the query according to the specified predicate.Methods in org.apache.openjpa.persistence.query with parameters of type QueryDefinitionModifier and TypeMethodDescriptionOpenJPAQueryBuilder.toJPQL(QueryDefinition qdef) Gets equivalent JPQL String for the given QueryDefinition.QueryBuilderImpl.toJPQL(QueryDefinition query)