Package jakarta.persistence.criteria
Interface Fetch<Z,X> 
- Type Parameters:
 Z- the source type of the fetchX- the target type of the fetch
- All Superinterfaces:
 FetchParent<Z,X> 
Represents a join-fetched association or attribute.
- Since:
 - 2.0
 
- 
Method Summary
Modifier and TypeMethodDescriptionReturn the metamodel attribute corresponding to the fetch join.Return the join type used in the fetch join.FetchParent<?, Z> Return the parent of the fetched item.Methods inherited from interface jakarta.persistence.criteria.FetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetches 
- 
Method Details
- 
getAttribute
Return the metamodel attribute corresponding to the fetch join.- Returns:
 - metamodel attribute for the join
 
 - 
getParent
FetchParent<?,Z> getParent()Return the parent of the fetched item.- Returns:
 - fetch parent
 
 - 
getJoinType
JoinType getJoinType()Return the join type used in the fetch join.- Returns:
 - join type
 
 
 -