|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PathExpression
Interface for operations over objects reached via paths
Method Summary | |
---|---|
Aggregate |
avg()
Specify that the avg operation is to be applied. |
Aggregate |
count()
Specify that the count operation is to be applied. |
PathExpression |
get(String attributeName)
Return a path expression corresponding to the referenced attribute. |
Predicate |
isEmpty()
Add a restriction that the path expression must correspond to an association or element collection that is empty (has no elements). |
Aggregate |
max()
Specify that the max operation is to be applied. |
Aggregate |
min()
Specify that the min operation is to be applied. |
Expression |
size()
Return an expression that corresponds to the number of elements association or element collection corresponding to the path expression. |
Aggregate |
sum()
Specify that the sum operation is to be applied. |
Expression |
type()
Return an expression that corresponds to the type of the entity. |
Methods inherited from interface org.apache.openjpa.persistence.query.Expression |
---|
abs, concat, concat, dividedBy, dividedBy, in, in, in, in, in, in, isNull, length, locate, locate, locate, locate, locate, locate, lower, member, minus, minus, minus, mod, mod, plus, plus, sqrt, substring, substring, substring, substring, substring, substring, times, times, trim, trim, trim, trim, trim, trim, upper |
Methods inherited from interface org.apache.openjpa.persistence.query.SelectItem |
---|
asc, desc |
Methods inherited from interface org.apache.openjpa.persistence.query.PredicateOperand |
---|
between, between, between, between, between, between, between, between, between, between, between, between, between, equal, equal, equal, equal, equal, equal, equal, equal, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessThan, lessThan, lessThan, lessThan, lessThan, like, like, like, like, like, like, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual |
Method Detail |
---|
PathExpression get(String attributeName)
attributeName
- -
name of the referenced attribute
Expression type()
Expression size()
Predicate isEmpty()
Aggregate avg()
Aggregate max()
Aggregate min()
Aggregate count()
Aggregate sum()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |