Class SqmTreatedEntityJoin<T,S extends T>
- java.lang.Object
-
- org.hibernate.query.sqm.tree.AbstractSqmNode
-
- org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement<T>
-
- org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection<T>
-
- org.hibernate.query.sqm.tree.expression.AbstractSqmExpression<T>
-
- org.hibernate.query.sqm.tree.domain.AbstractSqmPath<T>
-
- org.hibernate.query.sqm.tree.domain.AbstractSqmFrom<O,T>
-
- org.hibernate.query.sqm.tree.domain.AbstractSqmJoin<O,T>
-
- org.hibernate.query.sqm.tree.domain.AbstractSqmQualifiedJoin<T,T>
-
- org.hibernate.query.sqm.tree.from.SqmEntityJoin<S>
-
- org.hibernate.query.sqm.tree.domain.SqmTreatedEntityJoin<T,S>
-
- All Implemented Interfaces:
Expression<S>
,FetchParent<S,S>
,From<S,S>
,Path<S>
,Selection<S>
,TupleElement<S>
,Serializable
,JpaCriteriaNode
,JpaEntityJoin<S>
,JpaExpression<S>
,JpaFetchParent<S,S>
,JpaFrom<S,S>
,JpaJoinedFrom<S,S>
,JpaPath<S>
,JpaSelection<S>
,JpaTupleElement<S>
,SemanticPathPart
,SqmPath<S>
,SqmPathWrapper<T,S>
,SqmTreatedPath<T,S>
,SqmExpression<S>
,SqmFrom<S,S>
,SqmJoin<S,S>
,SqmQualifiedJoin<S,S>
,SqmSelectableNode<S>
,SqmExpressibleAccessor<S>
,SqmNode
,SqmTypedNode<S>
,SqmVisitableNode
public class SqmTreatedEntityJoin<T,S extends T> extends SqmEntityJoin<S> implements SqmTreatedPath<T,S>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SqmTreatedEntityJoin(SqmEntityJoin<T> wrappedPath, EntityDomainType<S> treatTarget, String alias)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendHqlString(StringBuilder sb)
SqmTreatedEntityJoin<T,S>
copy(SqmCopyContext context)
EntityDomainType<S>
getModel()
SqmPathSource<S>
getNodeType()
This node's type is its "referenced path source"EntityDomainType<S>
getReferencedPathSource()
The path source that this path refers to (and that most likely created it).EntityDomainType<S>
getTreatTarget()
SqmPath<T>
getWrappedPath()
Access the wrapped SqmPath.-
Methods inherited from class org.hibernate.query.sqm.tree.from.SqmEntityJoin
accept, createCorrelation, findRoot, getEntityName, getLhs, getRoot, isImplicitlySelectable, makeCopy, on, on, on, on, resolveIndexedAccess, treatAs, treatAs, treatAs, treatAs
-
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmQualifiedJoin
applyRestriction, copyTo, getJoinPredicate, getOn, setJoinPredicate
-
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmJoin
getSqmJoinType
-
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmFrom
addSqmJoin, addTreat, alias, copyTo, crossJoin, crossJoin, fetch, fetch, fetch, fetch, fetch, fetch, findTreat, getCorrelationParent, getExplicitAlias, getFetches, getJoins, getParentPath, getSqmJoins, getSqmTreats, hasJoins, hasTreats, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinLateral, joinLateral, joinList, joinList, joinMap, joinMap, joinSet, joinSet, removeLeftFetchJoins, resolvePathPart, setExplicitAlias, visitSqmJoins
-
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmPath
copyTo, get, get, get, get, getExpressible, getNavigablePath, getNavigablePathCopy, getResolvedModel, getReusablePath, getReusablePaths, getTreatedPath, registerReusablePath, resolvePath, resolvePath, toString, type, visitReusablePaths
-
Methods inherited from class org.hibernate.query.sqm.tree.expression.AbstractSqmExpression
applyInferableType, as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, equalTo, equalTo, getJavaTypeDescriptor, in, in, in, in, internalApplyInferableType, isNotNull, isNull, nodeBuilder
-
Methods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection
getSelectionItems, isCompoundSelection
-
Methods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement
copyTo, getAlias, setAlias, setExpressibleType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jakarta.persistence.criteria.From
getJoins, isCorrelated
-
Methods inherited from interface org.hibernate.query.criteria.JpaFetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetches
-
Methods inherited from interface org.hibernate.query.criteria.JpaFrom
crossJoin, crossJoin, join, join, join, join, join, join, join, join, join, joinLateral, joinLateral
-
Methods inherited from interface org.hibernate.query.criteria.JpaJoinedFrom
getOn
-
Methods inherited from interface org.hibernate.query.criteria.JpaPath
getParentPath
-
Methods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItems
-
Methods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeName, isEnum
-
Methods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelection
-
Methods inherited from interface org.hibernate.query.sqm.tree.expression.SqmExpression
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, castAs, equalTo, equalTo, in, in, in, in, isNotNull, isNull, visitSubSelectableNodes
-
Methods 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, visitSqmJoins
-
Methods inherited from interface org.hibernate.query.sqm.tree.from.SqmJoin
getSqmJoinType, join, join
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilder
-
Methods inherited from interface org.hibernate.query.sqm.tree.domain.SqmPath
applyInferableType, findRoot, get, get, get, get, getExplicitAlias, getJavaTypeDescriptor, getLhs, getNavigablePath, getResolvedModel, getReusablePath, getReusablePaths, registerReusablePath, resolveAlias, resolveIndexedAccess, resolvePathPart, setExplicitAlias, type, visitReusablePaths
-
Methods inherited from interface org.hibernate.query.sqm.tree.select.SqmSelectableNode
getTupleLength
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmTypedNode
getExpressible, getNodeJavaType
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
accept, toHqlString
-
Methods inherited from interface jakarta.persistence.TupleElement
getAlias
-
-
-
-
Constructor Detail
-
SqmTreatedEntityJoin
public SqmTreatedEntityJoin(SqmEntityJoin<T> wrappedPath, EntityDomainType<S> treatTarget, String alias)
-
-
Method Detail
-
copy
public SqmTreatedEntityJoin<T,S> copy(SqmCopyContext context)
- Specified by:
copy
in interfaceSqmExpression<T>
- Specified by:
copy
in interfaceSqmFrom<T,S extends T>
- Specified by:
copy
in interfaceSqmJoin<T,S extends T>
- Specified by:
copy
in interfaceSqmNode
- Specified by:
copy
in interfaceSqmPath<T>
- Specified by:
copy
in interfaceSqmSelectableNode<T>
- Specified by:
copy
in interfaceSqmTypedNode<T>
- Overrides:
copy
in classSqmEntityJoin<S extends T>
-
getTreatTarget
public EntityDomainType<S> getTreatTarget()
- Specified by:
getTreatTarget
in interfaceSqmTreatedPath<T,S extends T>
-
getModel
public EntityDomainType<S> getModel()
- Specified by:
getModel
in interfaceJpaEntityJoin<T>
- Specified by:
getModel
in interfacePath<T>
- Overrides:
getModel
in classSqmEntityJoin<S extends T>
-
getWrappedPath
public SqmPath<T> getWrappedPath()
Description copied from interface:SqmPathWrapper
Access the wrapped SqmPath.- Specified by:
getWrappedPath
in interfaceSqmPathWrapper<T,S extends T>
- Specified by:
getWrappedPath
in interfaceSqmTreatedPath<T,S extends T>
-
getNodeType
public SqmPathSource<S> getNodeType()
Description copied from interface:SqmPath
This node's type is its "referenced path source"- Specified by:
getNodeType
in interfaceSqmExpression<T>
- Specified by:
getNodeType
in interfaceSqmPath<T>
- Specified by:
getNodeType
in interfaceSqmTypedNode<T>
- Overrides:
getNodeType
in classAbstractSqmPath<S extends T>
-
getReferencedPathSource
public EntityDomainType<S> getReferencedPathSource()
Description copied from interface:SqmPath
The path source that this path refers to (and that most likely created it).- Specified by:
getReferencedPathSource
in interfaceSqmFrom<T,S extends T>
- Specified by:
getReferencedPathSource
in interfaceSqmPath<T>
- Overrides:
getReferencedPathSource
in classSqmEntityJoin<S extends T>
- See Also:
SqmPathSource.createSqmPath(org.hibernate.query.sqm.tree.domain.SqmPath<?>, org.hibernate.query.sqm.SqmPathSource<?>)
-
appendHqlString
public void appendHqlString(StringBuilder sb)
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
- Overrides:
appendHqlString
in classAbstractSqmFrom<S extends T,S extends T>
-
-