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
public interface DiscriminatorSqmPath<T> extends SqmPath<T>
Commonality between entity and any discriminators
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidappendHqlString(StringBuilder sb)default SqmPath<?>resolvePathPart(String name, boolean isTerminal, SqmCreationState creationState)default SqmTreatedPathtreatAs(Class treatJavaType)Support for JPA's explicit (TREAT) down-casting.default SqmTreatedPathtreatAs(EntityDomainType treatTarget)Support for JPA's explicit (TREAT) down-casting.-
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, 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, 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 Detail
-
appendHqlString
default void appendHqlString(StringBuilder sb)
- Specified by:
appendHqlStringin interfaceSqmVisitableNode
-
resolvePathPart
default SqmPath<?> resolvePathPart(String name, boolean isTerminal, SqmCreationState creationState)
- Specified by:
resolvePathPartin interfaceSemanticPathPart- Specified by:
resolvePathPartin interfaceSqmPath<T>
-
treatAs
default SqmTreatedPath treatAs(Class treatJavaType) throws PathException
Description copied from interface:JpaPathSupport for JPA's explicit (TREAT) down-casting.
-
treatAs
default SqmTreatedPath treatAs(EntityDomainType treatTarget) throws PathException
Description copied from interface:JpaPathSupport for JPA's explicit (TREAT) down-casting.
-
-