Class SqmTreatedCrossJoin<L, T, S extends T>
java.lang.Object
org.hibernate.query.sqm.tree.AbstractSqmNode
org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement<S>
org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection<S>
org.hibernate.query.sqm.tree.expression.AbstractSqmExpression<S>
org.hibernate.query.sqm.tree.domain.AbstractSqmPath<S>
org.hibernate.query.sqm.tree.domain.AbstractSqmFrom<L,S>
org.hibernate.query.sqm.tree.from.SqmCrossJoin<L,S>
org.hibernate.query.sqm.tree.domain.SqmTreatedCrossJoin<L,T,S>
- All Implemented Interfaces:
Expression<S>, FetchParent<L,S>, From<L, S>, Join<L, S>, Path<S>, Selection<S>, TupleElement<S>, Serializable, JpaCriteriaNode, JpaCrossJoin<L, S>, JpaExpression<S>, JpaFetchParent<L, S>, JpaFrom<L, S>, JpaJoin<L, S>, JpaPath<S>, JpaSelection<S>, JpaTreatedFrom<L, T, S>, JpaTreatedJoin<L, T, S>, JpaTreatedPath<T, S>, JpaTupleElement<S>, SemanticPathPart, SqmPath<S>, SqmPathWrapper<T, S>, SqmTreatedFrom<L, T, S>, SqmTreatedJoin<L, T, S>, SqmTreatedPath<T, S>, SqmExpression<S>, SqmFrom<L, S>, SqmJoin<L, S>, SqmSelectableNode<S>, SqmCacheable, SqmExpressibleAccessor<S>, SqmNode, SqmTypedNode<S>, SqmVisitableNode
public class SqmTreatedCrossJoin<L, T, S extends T>
extends SqmCrossJoin<L,S>
implements SqmTreatedJoin<L,T,S>
A TREAT form of SqmCrossJoin
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmTreatedCrossJoin(SqmCrossJoin<L, T> wrappedPath, SqmEntityDomainType<S> treatTarget) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendHqlString(StringBuilder hql, SqmRenderContext context) copy(SqmCopyContext context) getModel()The expression's type.The path source that this path refers to (and that most likely created it).Get this path's actual resolved model, i.e.Access the wrapped SqmPath.on(Expression<Boolean> restriction) on(JpaExpression<Boolean> restriction) on(JpaPredicate... restrictions) voidsetExplicitAlias(String explicitAlias) Set the explicit alias for this path<S1 extends S>
SqmTreatedCrossJoin<L, S, S1> treatAs(EntityDomainType<S1> treatTarget, String alias, boolean fetch) Methods inherited from class SqmCrossJoin
accept, createCorrelation, findRoot, getAttribute, getEntityName, getJoinPredicate, getJoinType, getLhs, getParent, getRoot, getSqmJoinType, isImplicitlySelectable, makeCopy, on, setJoinPredicate, treatAs, treatAs, treatAs, treatAs, treatAsMethods inherited from class AbstractSqmFrom
addSqmJoin, addTreat, alias, copyTo, crossJoin, crossJoin, deepEquals, fetch, fetch, fetch, fetch, fetch, fetch, findTreat, getCorrelationParent, getExplicitAlias, getFetches, getJoinList, getJoins, getNumberOfJoins, getParentPath, getSqmJoins, getSqmTreats, hasImplicitlySelectableJoin, hasJoins, id, isCorrelated, isDeepCompatible, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, joinArray, joinArray, joinArray, joinArray, joinArrayCollection, joinArrayCollection, joinArrayCollection, joinArrayCollection, joinCollection, joinCollection, joinLateral, joinLateral, joinLateral, joinLateral, joinLateral, joinList, joinList, joinMap, joinMap, joinSet, joinSet, removeLeftFetchJoins, resolvePathPart, visitSqmJoinsMethods inherited from class AbstractSqmPath
cacheHashCode, copyTo, equals, get, get, get, get, get, get, get, get, get, get, getExpressible, getJavaTypeDescriptor, getNavigablePath, getNavigablePathCopy, getNodeJavaType, getReusablePath, getReusablePaths, getTreatedPath, hashCode, isCompatible, registerReusablePath, resolvePath, resolvePath, toString, type, visitReusablePathsMethods inherited from class AbstractSqmExpression
applyInferableType, as, cast, coalesce, coalesce, count, countDistinct, equalTo, equalTo, in, in, in, in, in, internalApplyInferableType, isMember, isNotMember, isNotNull, isNull, nodeBuilder, notEqualTo, notEqualTo, nullif, nullif, selectCase, selectCaseMethods inherited from class AbstractJpaSelection
getSelectionItems, isCompoundSelectionMethods inherited from class AbstractJpaTupleElement
copyTo, getAlias, setAlias, setExpressibleTypeMethods inherited from interface From
getJoinList, getJoins, isCorrelatedMethods inherited from interface Join
getJoinType, getParentMethods inherited from interface JpaExpression
coalesce, coalesce, count, countDistinct, in, isMember, isNotMember, nullif, nullif, selectCase, selectCaseMethods inherited from interface JpaFetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetchesMethods inherited from interface JpaFrom
id, join, join, join, join, join, join, join, join, joinArray, joinArray, joinArray, joinArray, joinArrayCollection, joinArrayCollection, joinArrayCollection, joinArrayCollection, joinLateral, joinLateral, joinLateralMethods inherited from interface JpaJoin
getAttribute, treatMethods inherited from interface JpaPath
getParentPathMethods inherited from interface JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface JpaTupleElement
getJavaType, getJavaTypeName, isEnumMethods inherited from interface Selection
isCompoundSelectionMethods inherited from interface SqmCacheable
cacheHashCode, isCompatibleMethods inherited from interface SqmExpression
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, castAs, equalTo, equalTo, in, in, in, in, isNotNull, isNull, notEqualTo, notEqualTo, visitSubSelectableNodesMethods inherited from interface SqmFrom
addSqmJoin, deepEquals, getCorrelationParent, getNumberOfJoins, getSqmJoins, getSqmTreats, hasImplicitlySelectableJoin, hasJoins, hasTreats, isDeepCompatible, join, join, resolveAlias, visitSqmJoinsMethods inherited from interface SqmJoin
crossJoin, crossJoin, getOn, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinLateral, joinList, joinList, joinMap, joinMap, joinSet, joinSet, onMethods inherited from interface SqmNode
asLoggableText, nodeBuilderMethods inherited from interface SqmPath
applyInferableType, findRoot, get, get, get, get, get, getExplicitAlias, getJavaTypeDescriptor, getLhs, getNavigablePath, getReusablePath, getReusablePaths, registerReusablePath, resolveIndexedAccess, resolvePathPart, type, visitReusablePathsMethods inherited from interface SqmSelectableNode
getTupleLengthMethods inherited from interface SqmTreatedFrom
treatAsMethods inherited from interface SqmTreatedJoin
treatAs, treatAs, treatAs, treatAsMethods inherited from interface SqmTypedNode
getExpressible, getNodeJavaTypeMethods inherited from interface SqmVisitableNode
accept, toHqlStringMethods inherited from interface TupleElement
getAlias
-
Constructor Details
-
SqmTreatedCrossJoin
-
-
Method Details
-
copy
- Specified by:
copyin interfaceSqmExpression<L>- Specified by:
copyin interfaceSqmFrom<L,T> - Specified by:
copyin interfaceSqmJoin<L,T> - Specified by:
copyin interfaceSqmNode- Specified by:
copyin interfaceSqmPath<L>- Specified by:
copyin interfaceSqmSelectableNode<L>- Specified by:
copyin interfaceSqmTreatedFrom<L, T, S extends T>- Specified by:
copyin interfaceSqmTypedNode<L>- Overrides:
copyin classSqmCrossJoin<L, S extends T>
-
setExplicitAlias
Description copied from interface:SqmPathSet the explicit alias for this path- Specified by:
setExplicitAliasin interfaceSqmPath<L>- Overrides:
setExplicitAliasin classAbstractSqmFrom<L, S extends T>
-
getTreatTarget
- Specified by:
getTreatTargetin interfaceJpaTreatedPath<L,T> - Specified by:
getTreatTargetin interfaceSqmTreatedPath<L,T>
-
getModel
-
getWrappedPath
Description copied from interface:SqmPathWrapperAccess the wrapped SqmPath.- Specified by:
getWrappedPathin interfaceSqmPathWrapper<L,T> - Specified by:
getWrappedPathin interfaceSqmTreatedPath<L,T>
-
getNodeType
Description copied from interface:SqmExpressionThe expression's type.Can change as a result of calls to
SqmExpression.applyInferableType(SqmBindableType)- Specified by:
getNodeTypein interfaceSqmExpression<L>- Specified by:
getNodeTypein interfaceSqmPath<L>- Specified by:
getNodeTypein interfaceSqmTypedNode<L>- Overrides:
getNodeTypein classAbstractSqmPath<S extends T>
-
getReferencedPathSource
Description copied from interface:SqmPathThe path source that this path refers to (and that most likely created it).- Specified by:
getReferencedPathSourcein interfaceSqmFrom<L,T> - Specified by:
getReferencedPathSourcein interfaceSqmPath<L>- Overrides:
getReferencedPathSourcein classSqmCrossJoin<L, S extends T>- Returns:
- See Also:
-
getResolvedModel
Description copied from interface:SqmPathGet this path's actual resolved model, i.e. the concrete type for generic attributes.- Specified by:
getResolvedModelin interfaceSqmPath<L>- Overrides:
getResolvedModelin classAbstractSqmPath<S extends T>
-
appendHqlString
- Specified by:
appendHqlStringin interfaceSqmVisitableNode- Overrides:
appendHqlStringin classAbstractSqmFrom<L, S extends T>
-
on
-
on
-
on
-
treatAs
@Nonnull public <S1 extends S> SqmTreatedCrossJoin<L,S, treatAsS1> (@Nonnull EntityDomainType<S1> treatTarget, @Nullable String alias, boolean fetch)
-