Class SqmCorrelatedRoot<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<E,E>
-
- org.hibernate.query.sqm.tree.from.SqmRoot<T>
-
- org.hibernate.query.sqm.tree.domain.SqmCorrelatedRoot<T>
-
- All Implemented Interfaces:
Expression<T>,FetchParent<T,T>,From<T,T>,Path<T>,Root<T>,Selection<T>,TupleElement<T>,Serializable,JpaCriteriaNode,JpaExpression<T>,JpaFetchParent<T,T>,JpaFrom<T,T>,JpaPath<T>,JpaRoot<T>,JpaSelection<T>,JpaTupleElement<T>,SemanticPathPart,SqmCorrelation<T,T>,SqmPath<T>,SqmPathWrapper<T,T>,SqmExpression<T>,SqmFrom<T,T>,SqmSelectableNode<T>,SqmExpressibleAccessor<T>,SqmNode,SqmTypedNode<T>,SqmVisitableNode
public class SqmCorrelatedRoot<T> extends SqmRoot<T> implements SqmPathWrapper<T,T>, SqmCorrelation<T,T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SqmCorrelatedRoot(SqmRoot<T> correlationParent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <X> Xaccept(SemanticQueryWalker<X> walker)Accept the walker per visitationJpaSelection<T>alias(String name)SqmCorrelatedRoot<T>copy(SqmCopyContext context)SqmRoot<T>getCorrelatedRoot()SqmRoot<T>getCorrelationParent()StringgetExplicitAlias()Retrieve the explicit alias, if one.SqmPath<T>getWrappedPath()Access the wrapped SqmPath.booleanisCorrelated()voidsetExplicitAlias(String explicitAlias)Set the explicit alias for this path-
Methods inherited from class org.hibernate.query.sqm.tree.from.SqmRoot
addOrderedJoin, addSqmJoin, containsOnlyInnerJoins, copyTo, createCorrelation, findRoot, getEntityName, getLhs, getManagedType, getModel, getOrderedJoins, isAllowJoins, toString, treatAs, treatAs, treatAs, treatAs
-
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmFrom
addTreat, appendHqlString, copyTo, fetch, fetch, fetch, fetch, fetch, fetch, findTreat, getFetches, getJoins, getParentPath, getSqmJoins, getSqmTreats, hasJoins, hasTreats, 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, resolvePathPart, visitSqmJoins
-
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmPath
copyTo, get, get, get, get, getNavigablePath, getNodeType, getReferencedPathSource, getReusablePath, getReusablePaths, 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, 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 org.hibernate.query.criteria.JpaFetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetches
-
Methods inherited from interface org.hibernate.query.criteria.JpaFrom
join, join, join, join, join, join, join, joinLateral, joinLateral
-
Methods inherited from interface org.hibernate.query.criteria.JpaPath
getParentPath
-
Methods inherited from interface org.hibernate.query.criteria.JpaSelection
getCompoundSelectionItems, getSelectionItems
-
Methods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType
-
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, in, in, in, in, isNotNull, isNull, visitSubSelectableNodes
-
Methods inherited from interface org.hibernate.query.sqm.tree.from.SqmFrom
addSqmJoin, getReferencedPathSource, getSqmJoins, getSqmTreats, hasJoins, hasTreats, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet, treatAs, treatAs, treatAs, treatAs, visitSqmJoins
-
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, getJavaTypeDescriptor, getLhs, getNavigablePath, getNodeType, getReusablePath, getReusablePaths, registerReusablePath, resolveAlias, resolveIndexedAccess, resolvePathPart, type, visitReusablePaths
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmTypedNode
getExpressible, getNodeJavaType
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
appendHqlString, toHqlString
-
Methods inherited from interface jakarta.persistence.TupleElement
getAlias
-
-
-
-
Method Detail
-
copy
public SqmCorrelatedRoot<T> copy(SqmCopyContext context)
- Specified by:
copyin interfaceSqmExpression<T>- Specified by:
copyin interfaceSqmFrom<T,T>- Specified by:
copyin interfaceSqmNode- Specified by:
copyin interfaceSqmPath<T>- Specified by:
copyin interfaceSqmSelectableNode<T>- Specified by:
copyin interfaceSqmTypedNode<T>- Overrides:
copyin classSqmRoot<T>
-
getCorrelationParent
public SqmRoot<T> getCorrelationParent()
- Specified by:
getCorrelationParentin interfaceFrom<T,T>- Specified by:
getCorrelationParentin interfaceJpaFrom<T,T>- Specified by:
getCorrelationParentin interfaceSqmFrom<T,T>- Overrides:
getCorrelationParentin classAbstractSqmFrom<T,T>
-
getWrappedPath
public SqmPath<T> getWrappedPath()
Description copied from interface:SqmPathWrapperAccess the wrapped SqmPath.- Specified by:
getWrappedPathin interfaceSqmPathWrapper<T,T>
-
getExplicitAlias
public String getExplicitAlias()
Description copied from interface:SqmPathRetrieve the explicit alias, if one. May return null- Specified by:
getExplicitAliasin interfaceSqmPath<T>- Overrides:
getExplicitAliasin classAbstractSqmFrom<T,T>
-
setExplicitAlias
public void setExplicitAlias(String explicitAlias)
Description copied from interface:SqmPathSet the explicit alias for this path- Specified by:
setExplicitAliasin interfaceSqmPath<T>- Overrides:
setExplicitAliasin classAbstractSqmFrom<T,T>
-
alias
public JpaSelection<T> alias(String name)
- Specified by:
aliasin interfaceJpaSelection<T>- Specified by:
aliasin interfaceSelection<T>- Overrides:
aliasin classAbstractSqmFrom<T,T>
-
isCorrelated
public boolean isCorrelated()
- Specified by:
isCorrelatedin interfaceFrom<T,T>- Overrides:
isCorrelatedin classAbstractSqmFrom<T,T>
-
getCorrelatedRoot
public SqmRoot<T> getCorrelatedRoot()
- Specified by:
getCorrelatedRootin interfaceSqmCorrelation<T,T>
-
accept
public <X> X accept(SemanticQueryWalker<X> walker)
Description copied from interface:SqmVisitableNodeAccept the walker per visitation- Specified by:
acceptin interfaceSqmVisitableNode- Overrides:
acceptin classSqmRoot<T>
-
-