Package | Description |
---|---|
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 | Interface and Description |
---|---|
interface |
Aggregate
Type of the result of an aggregate operation
|
interface |
DomainObject
Domain objects define the domain over which a query operates.
|
interface |
Expression
Instances of this interface can be used either as select list items or as
predicate operands.
|
interface |
PathExpression
Interface for operations over objects reached via paths
|
Modifier and Type | Class and Description |
---|---|
class |
AbsExpression
Denotes ABS() operation on a given expression.
|
class |
AbstractDomainObject
Domain Object is a path expression over which query is evaluated.
|
class |
ArrayExpression
A single expression that holds an array of values.
|
class |
AverageExpression
Denotes AVG() on a given Expression.
|
class |
BinaryOperatorExpression
An expression resulting from a binary operation on two expressions.
|
class |
ConcatExpression
Denotes CONCAT(e1,e2,..)
|
class |
CountExpression
Denotes COUNT(e) Expression.
|
class |
CurrentTimeExpression
Denotes CURRENT_TIME(), CURRENT_DATE() and CURRENT_TIMESTAMP() expressions.
|
class |
DistinctExpression
Denotes DISTINCT(e) Expression.
|
class |
DividedByExpression
Denotes e1/e2 Expression.
|
class |
ElseExpression
Else clause in a Case Statement.
|
class |
EntryExpression
Denotes ENTRY(e) on a path.
|
class |
FetchPath
Denotes a path used in fetch join.
|
class |
IndexExpression
Denotes INDEX(e) Expression.
|
class |
JoinPath
Path resulting by joining from a parent path via an attribute.
|
class |
KeyExpression
Denotes KEY(e) Expression.
|
class |
LengthExpression
Denotes LENGTH(e) Expression.
|
class |
LiteralExpression
Denotes a Literal Expression.
|
class |
LocateExpression
Denotes LOCATE(e1, e2, n) Expression.
|
class |
LowerExpression
Denotes LOWER(e) Expression.
|
class |
MaxExpression
Denotes MAX(e) Expression.
|
class |
MinExpression
Denotes MIN(e) Expression.
|
class |
MinusExpression
Denotes (e1 - e2) Expression.
|
class |
NewInstance
Denotes NEW fully.qualified.class.name(arg1, arg2,...)
|
class |
OperatorPath
A path resulting from KEY() or VALUE() operation on an existing path.
|
class |
ParameterExpression
Denotes a parameter in a query.
|
class |
PlusExpression
Denotes (e1 + e2) Expression.
|
class |
QueryDefinitionImpl
Implements QueryDefinition.
|
class |
RangeExpression
Denotes a range used by e1 BETWEEN x AND y operation.
|
class |
RootPath
Denotes root domain instance representing a persistent type.
|
class |
SizeExpression
Denotes SIZE(e) Expression.
|
class |
SquareRootExpression
Denotes SQRT(e) Expression.
|
class |
SubStringExpression
Denotes SUBSTR(a,i1,i2) Expression.
|
class |
SumExpression
Denotes SUM(e) Expression.
|
class |
TimesExpression
Denotes (e1*e2) Expression.
|
class |
TrimExpression
Denotes TRIM(e1,x) Expression.
|
class |
TypeExpression
Denotes TYPE(e) Expression.
|
class |
UnaryMinusExpression
Denotes (-e) Expression.
|
class |
UpperExpression
Denotes UPPER(e) Expression.
|
class |
ValueExpression
Denotes VALUE(e) Expression.
|
class |
VarArgsExpression
A expression that holds an array of Expressions.
|
Modifier and Type | Method and Description |
---|---|
SelectItem |
AbstractDomainObject.entry()
Derives by ENTRY() operation on this path.
|
SelectItem |
DomainObject.entry()
Return a select item corresponding to the map entry of a map-valued
association or element collection.
|
SelectItem |
QueryDefinitionImpl.newInstance(Class cls,
SelectItem... args) |
SelectItem |
AbstractDomainObject.newInstance(Class cls,
SelectItem... args) |
SelectItem |
QueryDefinition.newInstance(Class cls,
SelectItem... args)
Specify that a constructor for the given class is to be applied to the
corresponding query results after the query is executed.
|
Modifier and Type | Method and Description |
---|---|
SelectItem |
QueryDefinitionImpl.newInstance(Class cls,
SelectItem... args) |
SelectItem |
AbstractDomainObject.newInstance(Class cls,
SelectItem... args) |
SelectItem |
QueryDefinition.newInstance(Class cls,
SelectItem... args)
Specify that a constructor for the given class is to be applied to the
corresponding query results after the query is executed.
|
QueryDefinition |
QueryDefinitionImpl.select(SelectItem... items) |
QueryDefinition |
AbstractDomainObject.select(SelectItem... selectItems) |
QueryDefinition |
QueryDefinition.select(SelectItem... selectItems)
Specify the objects / values to be returned.
|
QueryDefinition |
QueryDefinitionImpl.selectDistinct(SelectItem... items) |
QueryDefinition |
AbstractDomainObject.selectDistinct(SelectItem... selectItems) |
QueryDefinition |
QueryDefinition.selectDistinct(SelectItem... selectItems)
Specify the objects / values to be returned.
|
Modifier and Type | Method and Description |
---|---|
QueryDefinition |
QueryDefinitionImpl.select(List<SelectItem> items) |
QueryDefinition |
AbstractDomainObject.select(List<SelectItem> selectItemList) |
QueryDefinition |
QueryDefinition.select(List<SelectItem> selectItemList)
Specify the objects / values to be returned.
|
QueryDefinition |
QueryDefinitionImpl.selectDistinct(List<SelectItem> items) |
QueryDefinition |
AbstractDomainObject.selectDistinct(List<SelectItem> selectItemList) |
QueryDefinition |
QueryDefinition.selectDistinct(List<SelectItem> selectItemList)
Specify the objects / values to be returned.
|
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.