Class SqmTreatedSingularJoin<O,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<O,T>
-
- org.hibernate.query.sqm.tree.domain.AbstractSqmAttributeJoin<O,T>
-
- org.hibernate.query.sqm.tree.domain.SqmSingularJoin<O,S>
-
- org.hibernate.query.sqm.tree.domain.SqmTreatedSingularJoin<O,T,S>
-
- All Implemented Interfaces:
Expression<S>
,Fetch<O,S>
,FetchParent<O,S>
,From<O,S>
,Join<O,S>
,Path<S>
,Selection<S>
,TupleElement<S>
,Serializable
,JpaCriteriaNode
,JpaExpression<S>
,JpaFetch<O,S>
,JpaFetchParent<O,S>
,JpaFrom<O,S>
,JpaJoin<O,S>
,JpaJoinedFrom<O,S>
,JpaPath<S>
,JpaSelection<S>
,JpaTupleElement<S>
,SemanticPathPart
,SqmPath<S>
,SqmPathWrapper<T,S>
,SqmTreatedPath<T,S>
,SqmExpression<S>
,SqmAttributeJoin<O,S>
,SqmFrom<O,S>
,SqmJoin<O,S>
,SqmQualifiedJoin<O,S>
,SqmSelectableNode<S>
,SqmExpressibleAccessor<S>
,SqmNode
,SqmTypedNode<S>
,SqmVisitableNode
public class SqmTreatedSingularJoin<O,T,S extends T> extends SqmSingularJoin<O,S> implements SqmTreatedPath<T,S>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SqmTreatedSingularJoin(SqmSingularJoin<O,T> wrappedPath, TreatableDomainType<S> treatTarget, String alias)
SqmTreatedSingularJoin(SqmSingularJoin<O,T> wrappedPath, TreatableDomainType<S> treatTarget, String alias, boolean fetched)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendHqlString(StringBuilder sb)
SqmTreatedSingularJoin<O,T,S>
copy(SqmCopyContext context)
SqmPathSource<S>
getNodeType()
This node's type is its "referenced path source"TreatableDomainType<S>
getReferencedPathSource()
The path source that this path refers to (and that most likely created it).SqmPathSource<?>
getResolvedModel()
Get this path's actual resolved model, i.e.TreatableDomainType<S>
getTreatTarget()
SqmSingularJoin<O,T>
getWrappedPath()
Access the wrapped SqmPath.SqmAttributeJoin<O,S>
makeCopy(SqmCreationProcessingState creationProcessingState)
-
Methods inherited from class org.hibernate.query.sqm.tree.domain.SqmSingularJoin
accept, createCorrelation, getAttribute, getModel, toString, treatAs, treatAs, treatAs, treatAs, treatAs, treatAs
-
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmAttributeJoin
alias, clearFetched, getJoinType, getLhs, getNodeJavaType, getParent, isFetched, on, on, on, on
-
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, copyTo, crossJoin, crossJoin, fetch, fetch, fetch, fetch, fetch, fetch, findTreat, getCorrelationParent, getExplicitAlias, getFetches, getJoins, getParentPath, getSqmJoins, getSqmTreats, hasJoins, 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, getReusablePath, getReusablePaths, getTreatedPath, registerReusablePath, resolvePath, resolvePath, 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.JpaFetch
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.from.SqmAttributeJoin
getJavaTypeDescriptor, getJoinPredicate, isImplicitlySelectable, setJoinPredicate
-
Methods 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, 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, getNavigablePath, 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
-
SqmTreatedSingularJoin
public SqmTreatedSingularJoin(SqmSingularJoin<O,T> wrappedPath, TreatableDomainType<S> treatTarget, String alias)
-
SqmTreatedSingularJoin
public SqmTreatedSingularJoin(SqmSingularJoin<O,T> wrappedPath, TreatableDomainType<S> treatTarget, String alias, boolean fetched)
-
-
Method Detail
-
copy
public SqmTreatedSingularJoin<O,T,S> copy(SqmCopyContext context)
- Specified by:
copy
in interfaceSqmExpression<O>
- Specified by:
copy
in interfaceSqmFrom<O,T>
- Specified by:
copy
in interfaceSqmJoin<O,T>
- Specified by:
copy
in interfaceSqmNode
- Specified by:
copy
in interfaceSqmPath<O>
- Specified by:
copy
in interfaceSqmSelectableNode<O>
- Specified by:
copy
in interfaceSqmTypedNode<O>
- Overrides:
copy
in classSqmSingularJoin<O,S extends T>
-
getWrappedPath
public SqmSingularJoin<O,T> getWrappedPath()
Description copied from interface:SqmPathWrapper
Access the wrapped SqmPath.- Specified by:
getWrappedPath
in interfaceSqmPathWrapper<O,T>
- Specified by:
getWrappedPath
in interfaceSqmTreatedPath<O,T>
-
getTreatTarget
public TreatableDomainType<S> getTreatTarget()
- Specified by:
getTreatTarget
in interfaceSqmTreatedPath<O,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<O>
- Specified by:
getNodeType
in interfaceSqmPath<O>
- Specified by:
getNodeType
in interfaceSqmTypedNode<O>
- Overrides:
getNodeType
in classAbstractSqmPath<S extends T>
-
getReferencedPathSource
public TreatableDomainType<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 interfaceSqmAttributeJoin<O,T>
- Specified by:
getReferencedPathSource
in interfaceSqmFrom<O,T>
- Specified by:
getReferencedPathSource
in interfaceSqmPath<O>
- Overrides:
getReferencedPathSource
in classAbstractSqmPath<S extends T>
- See Also:
SqmPathSource.createSqmPath(org.hibernate.query.sqm.tree.domain.SqmPath<?>, org.hibernate.query.sqm.SqmPathSource<?>)
-
getResolvedModel
public SqmPathSource<?> getResolvedModel()
Description copied from interface:SqmPath
Get this path's actual resolved model, i.e. the concrete type for generic attributes.- Specified by:
getResolvedModel
in interfaceSqmPath<O>
- Overrides:
getResolvedModel
in classAbstractSqmPath<S extends T>
-
makeCopy
public SqmAttributeJoin<O,S> makeCopy(SqmCreationProcessingState creationProcessingState)
- Specified by:
makeCopy
in interfaceSqmAttributeJoin<O,T>
- Overrides:
makeCopy
in classSqmSingularJoin<O,S extends T>
-
appendHqlString
public void appendHqlString(StringBuilder sb)
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
- Overrides:
appendHqlString
in classAbstractSqmFrom<O,S extends T>
-
-