Package | Description |
---|---|
org.apache.openjpa.persistence |
OpenJPA JPA
|
org.apache.openjpa.persistence.query |
OpenJPA Dynamic Query
|
Modifier and Type | Method and Description |
---|---|
OpenJPAQuery |
OpenJPAEntityManager.createDynamicQuery(QueryDefinition dynamic)
Create an executable query from a dynamically defined query.
|
OpenJPAQuery |
EntityManagerImpl.createDynamicQuery(QueryDefinition qdef) |
Modifier and Type | Interface and Description |
---|---|
interface |
DomainObject
Domain objects define the domain over which a query operates.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDomainObject
Domain Object is a path expression over which query is evaluated.
|
class |
EntryExpression
Denotes ENTRY(e) on a path.
|
class |
FetchPath
Denotes a path used in fetch join.
|
class |
JoinPath
Path resulting by joining from a parent path via an attribute.
|
class |
KeyExpression
Denotes KEY(e) Expression.
|
class |
OperatorPath
A path resulting from KEY() or VALUE() operation on an existing path.
|
class |
QueryDefinitionImpl
Implements QueryDefinition.
|
class |
RootPath
Denotes root domain instance representing a persistent type.
|
class |
ValueExpression
Denotes VALUE(e) Expression.
|
Modifier and Type | Method and Description |
---|---|
QueryDefinition |
QueryBuilderImpl.createQueryDefinition()
Creates a QueryDefinition without a domain.
|
QueryDefinition |
QueryBuilder.createQueryDefinition()
Create an uninitialized query definition object.
|
QueryDefinition |
QueryBuilderImpl.createQueryDefinition(Query jpql) |
QueryDefinition |
OpenJPAQueryBuilder.createQueryDefinition(Query jpql)
Create a QueryDefinition from the given OpenJPA Query instance.
|
QueryDefinition |
QueryBuilderImpl.createQueryDefinition(String jpql) |
QueryDefinition |
OpenJPAQueryBuilder.createQueryDefinition(String jpql)
Create a QueryDefinition from the given JPQL String.
|
QueryDefinition |
QueryDefinitionImpl.groupBy(List<PathExpression> pathExprList) |
QueryDefinition |
QueryDefinition.groupBy(List<PathExpression> pathExprList)
Specify the items that are used to form groups over the query results.
|
QueryDefinition |
AbstractDomainObject.groupBy(List<PathExpression> pathExprList) |
QueryDefinition |
QueryDefinitionImpl.groupBy(PathExpression... pathExprs) |
QueryDefinition |
QueryDefinition.groupBy(PathExpression... pathExprs)
Specify the items that are used to form groups over the query results.
|
QueryDefinition |
AbstractDomainObject.groupBy(PathExpression... pathExprs) |
QueryDefinition |
QueryDefinitionImpl.having(Predicate predicate) |
QueryDefinition |
QueryDefinition.having(Predicate predicate)
Specify the restrictions over the groups of a query.
|
QueryDefinition |
AbstractDomainObject.having(Predicate predicate) |
QueryDefinition |
QueryDefinitionImpl.orderBy(List<OrderByItem> orderByItemList) |
QueryDefinition |
QueryDefinition.orderBy(List<OrderByItem> orderByItemList)
Specify the items of the select list that are used in ordering the query
results.
|
QueryDefinition |
AbstractDomainObject.orderBy(List<OrderByItem> orderByItemList) |
QueryDefinition |
QueryDefinitionImpl.orderBy(OrderByItem... orderByItems) |
QueryDefinition |
QueryDefinition.orderBy(OrderByItem... orderByItems)
Specify the items of the select list that are used in ordering the query
results.
|
QueryDefinition |
AbstractDomainObject.orderBy(OrderByItem... orderByItems) |
QueryDefinition |
QueryDefinitionImpl.select(List<SelectItem> items) |
QueryDefinition |
QueryDefinition.select(List<SelectItem> selectItemList)
Specify the objects / values to be returned.
|
QueryDefinition |
AbstractDomainObject.select(List<SelectItem> selectItemList) |
QueryDefinition |
QueryDefinitionImpl.select(SelectItem... items) |
QueryDefinition |
QueryDefinition.select(SelectItem... selectItems)
Specify the objects / values to be returned.
|
QueryDefinition |
AbstractDomainObject.select(SelectItem... selectItems) |
QueryDefinition |
QueryDefinitionImpl.selectDistinct(List<SelectItem> items) |
QueryDefinition |
QueryDefinition.selectDistinct(List<SelectItem> selectItemList)
Specify the objects / values to be returned.
|
QueryDefinition |
AbstractDomainObject.selectDistinct(List<SelectItem> selectItemList) |
QueryDefinition |
QueryDefinitionImpl.selectDistinct(SelectItem... items) |
QueryDefinition |
QueryDefinition.selectDistinct(SelectItem... selectItems)
Specify the objects / values to be returned.
|
QueryDefinition |
AbstractDomainObject.selectDistinct(SelectItem... selectItems) |
QueryDefinition |
QueryDefinitionImpl.where(Predicate predicate) |
QueryDefinition |
QueryDefinition.where(Predicate predicate)
Modifies the query definition to restrict the result of the query
according to the specified predicate.
|
QueryDefinition |
AbstractDomainObject.where(Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
String |
QueryBuilderImpl.toJPQL(QueryDefinition query) |
String |
OpenJPAQueryBuilder.toJPQL(QueryDefinition qdef)
Gets equivalent JPQL String for the given QueryDefinition.
|
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.