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
|
interface |
SelectItem
SelectItem instances are used in specifying the query's select list.
|
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 |
OrderableItem
Denotes an item of ORDER BY clause.
|
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 |
---|---|
OrderByItem |
NewInstance.asc() |
OrderByItem |
SelectItem.asc()
Return an OrderByItem referencing the SelectItem and specifying ascending
ordering.
|
OrderByItem |
NewInstance.desc() |
OrderByItem |
SelectItem.desc()
Return an OrderByItem referencing the SelectItem and specifying
descending ordering.
|
Modifier and Type | Method and Description |
---|---|
QueryDefinition |
QueryDefinitionImpl.orderBy(OrderByItem... orderByItems) |
QueryDefinition |
AbstractDomainObject.orderBy(OrderByItem... orderByItems) |
QueryDefinition |
QueryDefinition.orderBy(OrderByItem... orderByItems)
Specify the items of the select list that are used in ordering the query
results.
|
Modifier and Type | Method and Description |
---|---|
QueryDefinition |
QueryDefinitionImpl.orderBy(List<OrderByItem> orderByItemList) |
QueryDefinition |
AbstractDomainObject.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.
|
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.