Interface DiscriminatorSqmPath<T>
- All Superinterfaces:
Expression<T>, JpaCriteriaNode, JpaExpression<T>, JpaPath<T>, JpaSelection<T>, JpaTupleElement<T>, Path<T>, Selection<T>, SemanticPathPart, Serializable, SqmCacheable, SqmExpressibleAccessor<T>, SqmExpression<T>, SqmNode, SqmPath<T>, SqmSelectableNode<T>, SqmTypedNode<T>, SqmVisitableNode, TupleElement<T>
Commonality between entity and any discriminators
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidappendHqlString(StringBuilder hql, SqmRenderContext context) default SqmBooleanPathget(BooleanAttribute<? super T> attribute) Create a boolean expression for the given boolean attribute.default <C extends Comparable<? super C>>
SqmComparableExpression<C> get(ComparableAttribute<? super T, C> attribute) Create a comparable expression for the given comparable attribute.default <K, V, M extends Map<K,V>>
SqmPluralPath<M, V> get(MapAttribute<? super T, K, V> map) Create a path for the given attribute.default <N extends Number & Comparable<N>>
SqmNumericPath<N> get(NumericAttribute<? super T, N> attribute) Create a numeric expression for the given numeric attribute.default <E, C extends Collection<E>>
SqmPluralPath<C, E> get(PluralAttribute<? super T, C, E> collection) Create a path for the given attribute.default <Y> SqmPath<Y> get(SingularAttribute<? super T, Y> attribute) Create a path for the given attribute.default <A extends Temporal & Comparable<? super A>>
SqmTemporalPath<A> get(TemporalAttribute<? super T, A> attribute) Create a temporal expression for the given temporal attribute.default SqmTextPathget(TextAttribute<? super T> attribute) Create a text expression for the given text attribute.default <Y> SqmPath<Y> Create a path for the given attribute.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 JpaExpression
coalesce, coalesce, count, countDistinct, in, isMember, isNotMember, nullif, nullif, selectCase, selectCaseMethods inherited from interface JpaPath
getParentPath, treatMethods inherited from interface JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface JpaTupleElement
getJavaType, getJavaTypeIfKnown, getJavaTypeName, isEnumMethods inherited from interface Selection
isCompoundSelectionMethods inherited from interface SqmCacheable
cacheHashCode, isCompatibleMethods inherited from interface SqmExpression
applyInferableType, as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, castAs, equalTo, equalTo, in, in, in, in, isNotNull, isNull, notEqualTo, notEqualTo, visitSubSelectableNodesMethods inherited from interface SqmNode
asLoggableText, nodeBuilderMethods inherited from interface SqmPath
applyInferableType, copy, findRoot, get, getExplicitAlias, getJavaTypeDescriptor, getLhs, getNavigablePath, getNodeType, getReferencedPathSource, getResolvedModel, getReusablePath, getReusablePaths, registerReusablePath, resolveIndexedAccess, setExplicitAlias, type, visitReusablePathsMethods inherited from interface SqmSelectableNode
getTupleLengthMethods inherited from interface SqmTypedNode
getExpressible, getNodeJavaTypeMethods inherited from interface SqmVisitableNode
accept, toHqlStringMethods inherited from interface TupleElement
getAlias
-
Method Details
-
appendHqlString
- Specified by:
appendHqlStringin interfaceSqmVisitableNode
-
resolvePathPart
@Nonnull default SqmPath<?> resolvePathPart(@Nonnull String name, boolean isTerminal, @Nonnull SqmCreationState creationState) - Specified by:
resolvePathPartin interfaceSemanticPathPart- Specified by:
resolvePathPartin interfaceSqmPath<T>
-
get
-
get
-
get
@Nonnull default <E, C extends Collection<E>> SqmPluralPath<C,E> get(@Nonnull PluralAttribute<? super T, C, E> collection) Description copied from interface:JpaPathCreate a path for the given attribute. -
get
@Nonnull default <K, V, M extends Map<K,V>> SqmPluralPath<M,V> get(@Nonnull MapAttribute<? super T, K, V> map) Description copied from interface:JpaPathCreate a path for the given attribute. -
get
Description copied from interface:JpaPathCreate a boolean expression for the given boolean attribute. Overrides the JPA standard method to return Hibernate-specific type. -
get
@Nonnull default <C extends Comparable<? super C>> SqmComparableExpression<C> get(@Nonnull ComparableAttribute<? super T, C> attribute) Description copied from interface:JpaPathCreate a comparable expression for the given comparable attribute. Overrides the JPA standard method to return Hibernate-specific type. -
get
@Nonnull default <A extends Temporal & Comparable<? super A>> SqmTemporalPath<A> get(@Nonnull TemporalAttribute<? super T, A> attribute) Description copied from interface:JpaPathCreate a temporal expression for the given temporal attribute. Overrides the JPA standard method to return Hibernate-specific type. -
get
@Nonnull default <N extends Number & Comparable<N>> SqmNumericPath<N> get(@Nonnull NumericAttribute<? super T, N> attribute) Description copied from interface:JpaPathCreate a numeric expression for the given numeric attribute. Overrides the JPA standard method to return Hibernate-specific type. -
get
Description copied from interface:JpaPathCreate a text expression for the given text attribute. Overrides the JPA standard method to return Hibernate-specific type. -
treatAs
-
treatAs
-
treatAs
-
treatAs
@Nonnull default SqmTreatedPath treatAs(@Nonnull EntityDomainType treatTarget, @Nullable String alias) -
treatAs
-
treatAs
@Nonnull default SqmTreatedPath treatAs(@Nonnull EntityDomainType treatTarget, @Nullable String alias, boolean fetch)
-