Interface SqmAttributeJoin<O,T>
- All Superinterfaces:
Expression<T>,Fetch<O,,T> FetchParent<O,,T> From<O,,T> Join<O,,T> JpaCriteriaNode,JpaExpression<T>,JpaFetch<O,,T> JpaFetchParent<O,,T> JpaFrom<O,,T> JpaJoin<O,,T> JpaJoinedFrom<O,,T> JpaPath<T>,JpaSelection<T>,JpaTupleElement<T>,Path<T>,Selection<T>,SemanticPathPart,Serializable,SqmExpressibleAccessor<T>,SqmExpression<T>,SqmFrom<O,,T> SqmJoin<O,,T> SqmNode,SqmPath<T>,SqmQualifiedJoin<O,,T> SqmSelectableNode<T>,SqmTypedNode<T>,SqmVisitableNode,TupleElement<T>
- All Known Implementing Classes:
AbstractSqmAttributeJoin,AbstractSqmPluralJoin,SqmBagJoin,SqmCorrelatedBagJoin,SqmCorrelatedListJoin,SqmCorrelatedMapJoin,SqmCorrelatedSetJoin,SqmCorrelatedSingularJoin,SqmListJoin,SqmMapJoin,SqmSetJoin,SqmSingularJoin,SqmTreatedBagJoin,SqmTreatedListJoin,SqmTreatedMapJoin,SqmTreatedSetJoin,SqmTreatedSingularJoin
Models a join based on a mapped attribute reference.
- Author:
- Steve Ebersole
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoidObtain the join predicategetLhs()Get the left-hand side of this path - may be null, indicating a root, cross-join or entity-joinThe Navigable for an SqmFrom will always be a NavigableContainer The Navigable for an SqmFrom will always be a NavigableContainer The path source that this path refers to (and that most likely created it).booleandefault booleanWhen applicable, whether this join should be included in an implicit select clausemakeCopy(SqmCreationProcessingState creationProcessingState) Deprecated.voidsetJoinPredicate(SqmPredicate predicate) Inject the join predicate<S extends T>
SqmAttributeJoin<O,S> Support for JPA's explicit (TREAT) down-casting.<S extends T>
SqmAttributeJoin<O,S> <S extends T>
SqmAttributeJoin<O,S> <S extends T>
SqmAttributeJoin<O,S> treatAs(EntityDomainType<S> treatTarget) Support for JPA's explicit (TREAT) down-casting.<S extends T>
SqmAttributeJoin<O,S> treatAs(EntityDomainType<S> treatJavaType, String alias) <S extends T>
SqmAttributeJoin<O,S> treatAs(EntityDomainType<S> treatJavaType, String alias, boolean fetch) Methods inherited from interface jakarta.persistence.criteria.Fetch
getAttribute, getJoinType, getParentMethods inherited from interface jakarta.persistence.criteria.From
getJoins, isCorrelatedMethods inherited from interface jakarta.persistence.criteria.Join
getJoinType, getOn, getParentMethods inherited from interface org.hibernate.query.criteria.JpaFetch
fetch, fetch, fetch, fetch, fetch, fetch, getFetches, on, onMethods inherited from interface org.hibernate.query.criteria.JpaFrom
crossJoin, crossJoin, join, join, join, join, join, join, join, join, join, joinLateral, joinLateralMethods inherited from interface org.hibernate.query.criteria.JpaJoinedFrom
getOnMethods inherited from interface org.hibernate.query.criteria.JpaPath
getParentPathMethods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeName, isEnumMethods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelectionMethods inherited from interface org.hibernate.query.sqm.tree.expression.SqmExpression
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, castAs, equalTo, equalTo, in, in, in, in, isNotNull, isNull, visitSubSelectableNodesMethods inherited from interface org.hibernate.query.sqm.tree.from.SqmFrom
addSqmJoin, getCorrelationParent, getSqmJoins, getSqmTreats, hasJoins, hasTreats, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet, visitSqmJoinsMethods inherited from interface org.hibernate.query.sqm.tree.from.SqmJoin
copy, getSqmJoinType, join, joinMethods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilderMethods inherited from interface org.hibernate.query.sqm.tree.domain.SqmPath
applyInferableType, findRoot, get, get, get, get, getExplicitAlias, getNavigablePath, getNodeType, getResolvedModel, getReusablePath, getReusablePaths, registerReusablePath, resolveAlias, resolveIndexedAccess, resolvePathPart, setExplicitAlias, type, visitReusablePathsMethods inherited from interface org.hibernate.query.sqm.tree.select.SqmSelectableNode
getTupleLengthMethods inherited from interface org.hibernate.query.sqm.tree.SqmTypedNode
getExpressible, getNodeJavaTypeMethods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
accept, appendHqlString, toHqlStringMethods inherited from interface jakarta.persistence.TupleElement
getAlias
-
Method Details
-
getLhs
Description copied from interface:SqmPathGet the left-hand side of this path - may be null, indicating a root, cross-join or entity-join -
isImplicitlySelectable
default boolean isImplicitlySelectable()Description copied from interface:SqmJoinWhen applicable, whether this join should be included in an implicit select clause- Specified by:
isImplicitlySelectablein interfaceSqmJoin<O,T>
-
getReferencedPathSource
SqmPathSource<T> getReferencedPathSource()Description copied from interface:SqmFromThe Navigable for an SqmFrom will always be a NavigableContainer The path source that this path refers to (and that most likely created it).- Specified by:
getReferencedPathSourcein interfaceSqmFrom<O,T> - Specified by:
getReferencedPathSourcein interfaceSqmPath<O>- See Also:
-
getJavaTypeDescriptor
- Specified by:
getJavaTypeDescriptorin interfaceJpaTupleElement<O>- Specified by:
getJavaTypeDescriptorin interfaceSqmPath<O>
-
isFetched
boolean isFetched() -
clearFetched
-
getJoinPredicate
SqmPredicate getJoinPredicate()Description copied from interface:SqmQualifiedJoinObtain the join predicate- Specified by:
getJoinPredicatein interfaceSqmQualifiedJoin<O,T> - Returns:
- The join predicate
-
setJoinPredicate
Description copied from interface:SqmQualifiedJoinInject the join predicate- Specified by:
setJoinPredicatein interfaceSqmQualifiedJoin<O,T> - Parameters:
predicate- The join predicate
-
treatAs
Description copied from interface:JpaPathSupport for JPA's explicit (TREAT) down-casting. -
treatAs
Description copied from interface:JpaPathSupport for JPA's explicit (TREAT) down-casting. -
treatAs
-
treatAs
-
treatAs
-
treatAs
<S extends T> SqmAttributeJoin<O,S> treatAs(EntityDomainType<S> treatJavaType, String alias, boolean fetch) -
makeCopy
@Deprecated @Remove @Remove SqmAttributeJoin makeCopy(SqmCreationProcessingState creationProcessingState) Deprecated.
-