Package | Description |
---|---|
org.apache.openjpa.persistence.query |
OpenJPA Dynamic Query
|
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 |
RootPath
Denotes root domain instance representing a persistent type.
|
class |
ValueExpression
Denotes VALUE(e) Expression.
|
Modifier and Type | Method and Description |
---|---|
DomainObject |
QueryDefinitionImpl.addRoot(Class cls)
Root domain object has no parent, no path but a non-null Class.
|
DomainObject |
QueryDefinition.addRoot(Class cls)
Add a query root corresponding to the given entity, forming a cartesian
product with any existing roots.
|
DomainObject |
AbstractDomainObject.addRoot(Class cls)
Adding a root adds a root domain to the owning query.
|
DomainObject |
QueryDefinitionImpl.addSubqueryRoot(PathExpression path) |
DomainObject |
QueryDefinition.addSubqueryRoot(PathExpression path)
Add a root derived from a domain object of the containing query
definition to a query definition used as a subquery.
|
DomainObject |
AbstractDomainObject.addSubqueryRoot(PathExpression path)
Adding a query root adds a subquery to the owning query.
|
DomainObject |
QueryBuilderImpl.createQueryDefinition(Class root)
Creates a QueryDefinition with given class as domain.
|
DomainObject |
QueryBuilder.createQueryDefinition(Class root)
Create a query definition object with the given root.
|
DomainObject |
QueryBuilderImpl.createSubqueryDefinition(PathExpression path)
Creates a QueryDefinition that can be used a correlated subquery
with the given path as domain.
|
DomainObject |
QueryBuilder.createSubqueryDefinition(PathExpression path)
Create a query definition object whose root is derived from a domain
object of the containing query.
|
DomainObject |
DomainObject.join(String attribute)
Extend the query domain by joining with a class that can be navigated to
or that is embedded in the class corresponding to the domain object on
which the method is invoked.
|
DomainObject |
AbstractDomainObject.join(String attr)
Derives a path from this path by joining the given field.
|
DomainObject |
DomainObject.leftJoin(String attribute)
Extend the query domain by left outer joining with a class that can be
navigated to or that is embedded in the class corresponding to the domain
object on which the method is invoked.
|
DomainObject |
AbstractDomainObject.leftJoin(String attr)
Derives a path from this path by outer joining the given field.
|
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.