Class FetchImpl<Z,X>
- java.lang.Object
-
- org.datanucleus.api.jakarta.criteria.ExpressionImpl<X>
-
- org.datanucleus.api.jakarta.criteria.PathImpl<Z,X>
-
- org.datanucleus.api.jakarta.criteria.FetchImpl<Z,X>
-
- Type Parameters:
Z- type from which joiningX- type of the attribute being joined
- All Implemented Interfaces:
jakarta.persistence.criteria.Expression<X>,jakarta.persistence.criteria.Fetch<Z,X>,jakarta.persistence.criteria.FetchParent<Z,X>,jakarta.persistence.criteria.Path<X>,jakarta.persistence.criteria.Selection<X>,jakarta.persistence.TupleElement<X>,Serializable
public class FetchImpl<Z,X> extends PathImpl<Z,X> implements jakarta.persistence.criteria.Fetch<Z,X>
Implementation of Jakarta Persistence Criteria "Fetch".- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FetchImpl(CriteriaBuilderImpl cb, PathImpl<?,Z> parent, AttributeImpl<? super Z,X> attr, jakarta.persistence.criteria.JoinType joinType)Constructor for a fetch join to an entity.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <Y> jakarta.persistence.criteria.Fetch<X,Y>fetch(jakarta.persistence.metamodel.PluralAttribute<? super X,?,Y> attr)<Y> jakarta.persistence.criteria.Fetch<X,Y>fetch(jakarta.persistence.metamodel.PluralAttribute<? super X,?,Y> attr, jakarta.persistence.criteria.JoinType type)<Y> jakarta.persistence.criteria.Fetch<X,Y>fetch(jakarta.persistence.metamodel.SingularAttribute<? super X,Y> attr)<Y> jakarta.persistence.criteria.Fetch<X,Y>fetch(jakarta.persistence.metamodel.SingularAttribute<? super X,Y> attr, jakarta.persistence.criteria.JoinType type)<X,Y>
jakarta.persistence.criteria.Fetch<X,Y>fetch(String attrName)<X,Y>
jakarta.persistence.criteria.Fetch<X,Y>fetch(String attrName, jakarta.persistence.criteria.JoinType type)jakarta.persistence.metamodel.Attribute<? super Z,?>getAttribute()Set<jakarta.persistence.criteria.Fetch<X,?>>getFetches()jakarta.persistence.criteria.JoinTypegetJoinType()jakarta.persistence.criteria.FetchParent<?,Z>getParent()-
Methods inherited from class org.datanucleus.api.jakarta.criteria.PathImpl
get, get, get, get, getModel, getParentPath, getQueryExpression, getType, toString, type
-
Methods inherited from class org.datanucleus.api.jakarta.criteria.ExpressionImpl
alias, as, getAlias, getCompoundSelectionItems, getJavaType, in, in, in, in, isCompoundSelection, isNotNull, isNull
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jakarta.persistence.criteria.Expression
as, in, in, in, in, isNotNull, isNull
-
-
-
-
Constructor Detail
-
FetchImpl
public FetchImpl(CriteriaBuilderImpl cb, PathImpl<?,Z> parent, AttributeImpl<? super Z,X> attr, jakarta.persistence.criteria.JoinType joinType)
Constructor for a fetch join to an entity.- Parameters:
cb- Criteria Builderparent- Parent objectattr- The type joining tojoinType- Type of join (Inner/LeftOuter/RightOuter)
-
-
Method Detail
-
fetch
public <Y> jakarta.persistence.criteria.Fetch<X,Y> fetch(jakarta.persistence.metamodel.PluralAttribute<? super X,?,Y> attr, jakarta.persistence.criteria.JoinType type)
-
fetch
public <Y> jakarta.persistence.criteria.Fetch<X,Y> fetch(jakarta.persistence.metamodel.PluralAttribute<? super X,?,Y> attr)
-
fetch
public <Y> jakarta.persistence.criteria.Fetch<X,Y> fetch(jakarta.persistence.metamodel.SingularAttribute<? super X,Y> attr, jakarta.persistence.criteria.JoinType type)
-
fetch
public <Y> jakarta.persistence.criteria.Fetch<X,Y> fetch(jakarta.persistence.metamodel.SingularAttribute<? super X,Y> attr)
-
fetch
public <X,Y> jakarta.persistence.criteria.Fetch<X,Y> fetch(String attrName, jakarta.persistence.criteria.JoinType type)
-
fetch
public <X,Y> jakarta.persistence.criteria.Fetch<X,Y> fetch(String attrName)
-
getAttribute
public jakarta.persistence.metamodel.Attribute<? super Z,?> getAttribute()
-
getJoinType
public jakarta.persistence.criteria.JoinType getJoinType()
-
-