Package | Description |
---|---|
org.apache.openjpa.persistence |
OpenJPA JPA
This package provides an JPA facade to OpenJPA.
|
org.apache.openjpa.persistence.query |
OpenJPA Dynamic Query
This package provides dynamic query construction that are similar to weakly-typed Criteria API.
|
Modifier and Type | Method and Description |
---|---|
OpenJPAQuery |
EntityManagerImpl.createDynamicQuery(QueryDefinition qdef) |
OpenJPAQuery |
OpenJPAEntityManager.createDynamicQuery(QueryDefinition dynamic)
Create an executable query from a dynamically defined query.
|
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 |
QueryBuilder.createQueryDefinition()
Create an uninitialized query definition object.
|
QueryDefinition |
QueryBuilderImpl.createQueryDefinition()
Creates a QueryDefinition without a domain.
|
QueryDefinition |
OpenJPAQueryBuilder.createQueryDefinition(Query jpql)
Create a QueryDefinition from the given OpenJPA Query instance.
|
QueryDefinition |
QueryBuilderImpl.createQueryDefinition(Query jpql) |
QueryDefinition |
OpenJPAQueryBuilder.createQueryDefinition(String jpql)
Create a QueryDefinition from the given JPQL String.
|
QueryDefinition |
QueryBuilderImpl.createQueryDefinition(String jpql) |
QueryDefinition |
AbstractDomainObject.groupBy(List<PathExpression> pathExprList) |
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(PathExpression... pathExprs) |
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.having(Predicate predicate) |
QueryDefinition |
QueryDefinitionImpl.having(Predicate predicate) |
QueryDefinition |
QueryDefinition.having(Predicate predicate)
Specify the restrictions over the groups of a query.
|
QueryDefinition |
AbstractDomainObject.orderBy(List<OrderByItem> orderByItemList) |
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(OrderByItem... orderByItems) |
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.select(List<SelectItem> selectItemList) |
QueryDefinition |
QueryDefinitionImpl.select(List<SelectItem> items) |
QueryDefinition |
QueryDefinition.select(List<SelectItem> selectItemList)
Specify the objects / values to be returned.
|
QueryDefinition |
AbstractDomainObject.select(SelectItem... selectItems) |
QueryDefinition |
QueryDefinitionImpl.select(SelectItem... items) |
QueryDefinition |
QueryDefinition.select(SelectItem... selectItems)
Specify the objects / values to be returned.
|
QueryDefinition |
AbstractDomainObject.selectDistinct(List<SelectItem> selectItemList) |
QueryDefinition |
QueryDefinitionImpl.selectDistinct(List<SelectItem> items) |
QueryDefinition |
QueryDefinition.selectDistinct(List<SelectItem> selectItemList)
Specify the objects / values to be returned.
|
QueryDefinition |
AbstractDomainObject.selectDistinct(SelectItem... selectItems) |
QueryDefinition |
QueryDefinitionImpl.selectDistinct(SelectItem... items) |
QueryDefinition |
QueryDefinition.selectDistinct(SelectItem... selectItems)
Specify the objects / values to be returned.
|
QueryDefinition |
AbstractDomainObject.where(Predicate predicate) |
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.
|
Modifier and Type | Method and Description |
---|---|
String |
OpenJPAQueryBuilder.toJPQL(QueryDefinition qdef)
Gets equivalent JPQL String for the given QueryDefinition.
|
String |
QueryBuilderImpl.toJPQL(QueryDefinition query) |
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.