Interface DiscriminatorSqmPath<T>
- All Superinterfaces:
Expression<T>
,JpaCriteriaNode
,JpaExpression<T>
,JpaPath<T>
,JpaSelection<T>
,JpaTupleElement<T>
,Path<T>
,Selection<T>
,SemanticPathPart
,Serializable
,SqmExpressibleAccessor<T>
,SqmExpression<T>
,SqmNode
,SqmPath<T>
,SqmSelectableNode<T>
,SqmTypedNode<T>
,SqmVisitableNode
,TupleElement<T>
- All Known Implementing Classes:
AnyDiscriminatorSqmPath
,EmbeddedDiscriminatorSqmPath
,EntityDiscriminatorSqmPath
Commonality between entity and any discriminators
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
default SqmPath<?>
resolvePathPart
(String name, boolean isTerminal, SqmCreationState creationState) default SqmTreatedPath
Support for JPA's explicit (TREAT) down-casting.default SqmTreatedPath
default SqmTreatedPath
default SqmTreatedPath
treatAs
(EntityDomainType treatTarget) Support for JPA's explicit (TREAT) down-casting.default SqmTreatedPath
treatAs
(EntityDomainType treatTarget, String alias) default SqmTreatedPath
treatAs
(EntityDomainType treatTarget, String alias, boolean fetch) 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, cast, castAs, equalTo, equalTo, in, in, in, in, isNotNull, isNull, notEqualTo, notEqualTo, visitSubSelectableNodes
Methods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilder
Methods inherited from interface org.hibernate.query.sqm.tree.domain.SqmPath
applyInferableType, copy, findRoot, get, get, get, get, get, getExplicitAlias, getJavaTypeDescriptor, getLhs, getNavigablePath, getNodeType, getReferencedPathSource, getResolvedModel, getReusablePath, getReusablePaths, registerReusablePath, resolveAlias, resolveIndexedAccess, 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
-
Method Details
-
appendHqlString
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
-
resolvePathPart
- Specified by:
resolvePathPart
in interfaceSemanticPathPart
- Specified by:
resolvePathPart
in interfaceSqmPath<T>
-
treatAs
Description copied from interface:JpaPath
Support for JPA's explicit (TREAT) down-casting. -
treatAs
Description copied from interface:JpaPath
Support for JPA's explicit (TREAT) down-casting. -
treatAs
- Specified by:
treatAs
in interfaceSqmPath<T>
- Throws:
PathException
-
treatAs
- Specified by:
treatAs
in interfaceSqmPath<T>
- Throws:
PathException
-
treatAs
default SqmTreatedPath treatAs(Class treatJavaType, String alias, boolean fetch) throws PathException - Specified by:
treatAs
in interfaceSqmPath<T>
- Throws:
PathException
-
treatAs
default SqmTreatedPath treatAs(EntityDomainType treatTarget, String alias, boolean fetch) throws PathException - Specified by:
treatAs
in interfaceSqmPath<T>
- Throws:
PathException
-