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>
- Author:
- Steve Ebersole
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<X> Xaccept(SemanticQueryWalker<X> walker) Accept the walker per visitationAssigns an alias to the selection item.copy(SqmCopyContext context) Returns the parentFromobject from which the correlatedFromobject has been obtained through correlation (use of aSubquerycorrelatemethod).Retrieve the explicit alias, if one.Access the wrapped SqmPath.booleanWhether theFromobject has been obtained as a result of correlation (use of aSubquerycorrelatemethod).voidsetExplicitAlias(String explicitAlias) Set the explicit alias for this pathMethods 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, treatAsMethods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmFrom
addTreat, appendHqlString, copyTo, crossJoin, crossJoin, fetch, fetch, fetch, fetch, fetch, fetch, findTreat, getFetches, getJoins, getParentPath, getSqmJoins, getSqmTreats, hasJoins, 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, visitSqmJoinsMethods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmPath
copyTo, get, get, get, get, getExpressible, getNavigablePath, getNavigablePathCopy, getNodeType, getReferencedPathSource, getResolvedModel, getReusablePath, getReusablePaths, getTreatedPath, registerReusablePath, resolvePath, resolvePath, type, visitReusablePathsMethods 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, nodeBuilderMethods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection
getSelectionItems, isCompoundSelectionMethods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement
copyTo, getAlias, setAlias, setExpressibleTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.query.criteria.JpaFetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetchesMethods 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.JpaPath
getParentPathMethods inherited from interface org.hibernate.query.criteria.JpaSelection
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, 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, visitSqmJoinsMethods 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, getJavaTypeDescriptor, getLhs, getNavigablePath, getNodeType, getResolvedModel, getReusablePath, getReusablePaths, registerReusablePath, resolveAlias, resolveIndexedAccess, resolvePathPart, 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
appendHqlString, toHqlStringMethods inherited from interface jakarta.persistence.TupleElement
getAlias
-
Constructor Details
-
SqmCorrelatedRoot
-
-
Method Details
-
copy
- 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
Description copied from interface:FromReturns the parentFromobject from which the correlatedFromobject has been obtained through correlation (use of aSubquerycorrelatemethod).- Specified by:
getCorrelationParentin interfaceFrom<T,T> - Specified by:
getCorrelationParentin interfaceJpaFrom<T,T> - Specified by:
getCorrelationParentin interfaceSqmFrom<T,T> - Overrides:
getCorrelationParentin classAbstractSqmFrom<T,T> - Returns:
- the parent of the correlated From object
-
getWrappedPath
Description copied from interface:SqmPathWrapperAccess the wrapped SqmPath.- Specified by:
getWrappedPathin interfaceSqmPathWrapper<T,T>
-
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
Description copied from interface:SqmPathSet the explicit alias for this path- Specified by:
setExplicitAliasin interfaceSqmPath<T>- Overrides:
setExplicitAliasin classAbstractSqmFrom<T,T>
-
alias
Description copied from interface:SelectionAssigns an alias to the selection item. Once assigned, an alias cannot be changed or reassigned. Returns the same selection item.- Specified by:
aliasin interfaceJpaSelection<T>- Specified by:
aliasin interfaceSelection<T>- Overrides:
aliasin classAbstractSqmFrom<T,T> - Parameters:
name- alias- Returns:
- selection item
-
accept
Description copied from interface:SqmVisitableNodeAccept the walker per visitation- Specified by:
acceptin interfaceSqmVisitableNode- Overrides:
acceptin classSqmRoot<T>
-