Module org.eclipse.persistence.jpa
Class JoinImpl<Z,X>
java.lang.Object
org.eclipse.persistence.internal.jpa.querydef.SelectionImpl<X>
org.eclipse.persistence.internal.jpa.querydef.ExpressionImpl<X>
org.eclipse.persistence.internal.jpa.querydef.PathImpl<X>
org.eclipse.persistence.internal.jpa.querydef.FromImpl<Z,X>
org.eclipse.persistence.internal.jpa.querydef.JoinImpl<Z,X>
- All Implemented Interfaces:
Expression<X>,Fetch<Z,,X> FetchParent<Z,,X> From<Z,,X> Join<Z,,X> Path<X>,Selection<X>,TupleElement<X>,Serializable,Cloneable,InternalExpression,InternalSelection
- Direct Known Subclasses:
CollectionJoinImpl,ListJoinImpl,MapJoinImpl,SetJoinImpl
Purpose: Contains the implementation of the Join interface of the JPA criteria API.
Description: This class represents a join of an attribute from a "From"element.
- Since:
- EclipseLink 1.2
- See Also:
-
Field Summary
FieldsFields inherited from class org.eclipse.persistence.internal.jpa.querydef.FromImpl
correlatedParent, fetches, isFetch, isJoin, joins, managedTypeFields inherited from class org.eclipse.persistence.internal.jpa.querydef.PathImpl
modelArtifact, pathParentFields inherited from class org.eclipse.persistence.internal.jpa.querydef.ExpressionImpl
isLiteral, literal, metamodelFields inherited from class org.eclipse.persistence.internal.jpa.querydef.SelectionImpl
alias, currentNode, javaType -
Constructor Summary
ConstructorsConstructorDescriptionJoinImpl(Path<Z> parentPath, ManagedType managedType, Metamodel metamodel, Class<X> javaClass, Expression expressionNode, Bindable<T> modelArtifact) JoinImpl(Path<Z> parentPath, ManagedType managedType, Metamodel metamodel, Class<X> javaClass, Expression expressionNode, Bindable<T> modelArtifact, JoinType joinType) JoinImpl(Path<Z> parentPath, ManagedType managedType, Metamodel metamodel, Class<X> javaClass, Expression expressionNode, Bindable<T> modelArtifact, JoinType joinType, FromImpl correlatedParent) -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> Expression<T> buildExpressionForAs(Class<T> type) Return the metamodel Attribute corresponding to the join.Return the join type.getOn()Return the parent of the join.on(Expression<Boolean> restriction) Methods inherited from class org.eclipse.persistence.internal.jpa.querydef.FromImpl
fetch, fetch, fetch, fetch, fetch, fetch, findJoinFetches, findJoins, get, get, get, get, getCorrelationParent, getFetches, getJoins, isCorrelated, isFrom, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet, typeMethods inherited from class org.eclipse.persistence.internal.jpa.querydef.PathImpl
clone, findRootAndParameters, getModel, getParentPathMethods inherited from class org.eclipse.persistence.internal.jpa.querydef.ExpressionImpl
as, in, in, in, in, isCompoundExpression, isExpression, isJunction, isLiteral, isNotNull, isNull, isParameter, isPredicate, isSubqueryMethods inherited from class org.eclipse.persistence.internal.jpa.querydef.SelectionImpl
alias, getAlias, getCompoundSelectionItems, getCurrentNode, getJavaType, isCompoundSelection, isConstructor, isRoot, setJavaTypeMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.persistence.criteria.Expression
as, in, in, in, in, isNotNull, isNullMethods inherited from interface jakarta.persistence.criteria.FetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetchesMethods inherited from interface jakarta.persistence.criteria.From
getCorrelationParent, getJoins, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSetMethods inherited from interface jakarta.persistence.criteria.Path
get, get, get, get, getModel, getParentPath, typeMethods inherited from interface jakarta.persistence.criteria.Selection
alias, getCompoundSelectionItems, isCompoundSelectionMethods inherited from interface jakarta.persistence.TupleElement
getAlias, getJavaType
-
Field Details
-
joinType
-
on
-
-
Constructor Details
-
JoinImpl
public JoinImpl(Path<Z> parentPath, ManagedType managedType, Metamodel metamodel, Class<X> javaClass, Expression expressionNode, Bindable<T> modelArtifact) -
JoinImpl
public JoinImpl(Path<Z> parentPath, ManagedType managedType, Metamodel metamodel, Class<X> javaClass, Expression expressionNode, Bindable<T> modelArtifact, JoinType joinType) -
JoinImpl
public JoinImpl(Path<Z> parentPath, ManagedType managedType, Metamodel metamodel, Class<X> javaClass, Expression expressionNode, Bindable<T> modelArtifact, JoinType joinType, FromImpl correlatedParent)
-
-
Method Details
-
getAttribute
Return the metamodel Attribute corresponding to the join.- Specified by:
getAttributein interfaceFetch<Z,X> - Specified by:
getAttributein interfaceJoin<Z,X> - Returns:
- metamodel Attribute type for the join
-
getParent
Return the parent of the join. -
getJoinType
Return the join type.- Specified by:
getJoinTypein interfaceFetch<Z,X> - Specified by:
getJoinTypein interfaceJoin<Z,X> - Returns:
- join type
-
buildExpressionForAs
- Overrides:
buildExpressionForAsin classExpressionImpl<X>
-
getOn
-
on
-
on
-