|
EclipseLink 2.4.0, build 'v20120308-r10963' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Z
- the source type of the fetchX
- the target type of the fetchpublic interface Fetch<Z,X>
Represents a join-fetched association or attribute.
Method Summary | |
---|---|
Attribute<? super Z,?> |
getAttribute()
Return the metamodel attribute corresponding to the fetch join. |
JoinType |
getJoinType()
Return the join type used in the fetch join. |
Predicate |
getOn()
Return the predicate that corresponds to the ON restriction(s), or null if no ON condition has been specified. |
FetchParent<?,Z> |
getParent()
Return the parent of the fetched item. |
Fetch<Z,X> |
on(Expression<java.lang.Boolean> restriction)
Modify the fetch join to restrict the result according to the specified ON condition and return the fetch join object. |
Fetch<Z,X> |
on(Predicate... restrictions)
Modify the fetch join to restrict the result according to the specified ON condition and return the fetch join object. |
Methods inherited from interface javax.persistence.criteria.FetchParent |
---|
fetch, fetch, fetch, fetch, fetch, fetch, getFetches |
Method Detail |
---|
Fetch<Z,X> on(Expression<java.lang.Boolean> restriction)
restriction
- a simple or compound boolean expression
Fetch<Z,X> on(Predicate... restrictions)
restrictions
- zero or more restriction predicates
Predicate getOn()
Attribute<? super Z,?> getAttribute()
FetchParent<?,Z> getParent()
JoinType getJoinType()
|
EclipseLink 2.4.0, build 'v20120308-r10963' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |