|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DomainObject
Domain objects define the domain over which a query operates. A domain object plays a role analogous to that of a Java Persistence query language identification variable.
Method Summary | |
---|---|
SelectItem |
entry()
Return a select item corresponding to the map entry of a map-valued association or element collection. |
Expression |
index()
Return an expression that corresponds to the index. |
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. |
FetchJoinObject |
joinFetch(String attribute)
Specify that the association or element collection that is referenced by the attribute be eagerly fetched through use of an inner join. |
PathExpression |
key()
Return a path expression corresponding to the key of a map-valued association or element collection. |
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. |
FetchJoinObject |
leftJoinFetch(String attribute)
Specify that the association or element collection that is referenced by the attribute be eagerly fetched through use of a left outer join. |
PathExpression |
value()
Return a path expression corresponding to the value of a map-valued association or element collection. |
Methods inherited from interface org.apache.openjpa.persistence.query.PathExpression |
---|
avg, count, get, isEmpty, max, min, size, sum, type |
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.QueryDefinition |
---|
addRoot, addSubqueryRoot, all, any, coalesce, coalesce, coalesce, coalesce, currentDate, currentTime, currentTimestamp, exists, generalCase, groupBy, groupBy, having, literal, literal, literal, literal, literal, literal, literal, literal, newInstance, nullif, nullif, nullif, nullif, nullif, nullif, nullif, nullLiteral, orderBy, orderBy, param, predicate, select, select, selectDistinct, selectDistinct, simpleCase, simpleCase, simpleCase, simpleCase, simpleCase, simpleCase, simpleCase, some, where |
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 |
---|
DomainObject join(String attribute)
attribute
- -
name of the attribute that references the target of the
join
DomainObject leftJoin(String attribute)
attribute
- -
name of the attribute that references the target of the
join
FetchJoinObject joinFetch(String attribute)
attribute
- -
name of the attribute that references the target of the
join
FetchJoinObject leftJoinFetch(String attribute)
attribute
- -
name of the attribute that references the target of the
join
PathExpression value()
PathExpression key()
SelectItem entry()
Expression index()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |