Package org.hibernate.query.sqm
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 voidappendHqlString(StringBuilder hql, SqmRenderContext context) default SqmPath<?> resolvePathPart(String name, boolean isTerminal, SqmCreationState creationState) default SqmTreatedPathSupport for JPA's explicit (TREAT) down-casting.default SqmTreatedPathdefault SqmTreatedPathdefault SqmTreatedPathtreatAs(EntityDomainType treatTarget) Support for JPA's explicit (TREAT) down-casting.default SqmTreatedPathtreatAs(EntityDomainType treatTarget, String alias) default SqmTreatedPathtreatAs(EntityDomainType treatTarget, String alias, boolean fetch) Methods inherited from interface org.hibernate.query.criteria.JpaPath
getParentPathMethods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, 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, notEqualTo, notEqualTo, visitSubSelectableNodesMethods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilderMethods 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, resolveIndexedAccess, setExplicitAlias, 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
accept, toHqlStringMethods inherited from interface jakarta.persistence.TupleElement
getAlias
-
Method Details
-
appendHqlString
- Specified by:
appendHqlStringin interfaceSqmVisitableNode
-
resolvePathPart
- Specified by:
resolvePathPartin interfaceSemanticPathPart- Specified by:
resolvePathPartin interfaceSqmPath<T>
-
treatAs
Description copied from interface:JpaPathSupport for JPA's explicit (TREAT) down-casting. -
treatAs
Description copied from interface:JpaPathSupport for JPA's explicit (TREAT) down-casting. -
treatAs
- Specified by:
treatAsin interfaceSqmPath<T>- Throws:
PathException
-
treatAs
- Specified by:
treatAsin interfaceSqmPath<T>- Throws:
PathException
-
treatAs
default SqmTreatedPath treatAs(Class treatJavaType, String alias, boolean fetch) throws PathException - Specified by:
treatAsin interfaceSqmPath<T>- Throws:
PathException
-
treatAs
default SqmTreatedPath treatAs(EntityDomainType treatTarget, String alias, boolean fetch) throws PathException - Specified by:
treatAsin interfaceSqmPath<T>- Throws:
PathException
-