Class AbstractSqmExpression<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>
- All Implemented Interfaces:
Expression<T>, Selection<T>, TupleElement<T>, Serializable, JpaCriteriaNode, JpaExpression<T>, JpaSelection<T>, JpaTupleElement<T>, SqmExpression<T>, SqmSelectableNode<T>, SqmCacheable, SqmExpressibleAccessor<T>, SqmNode, SqmTypedNode<T>, SqmVisitableNode
- Direct Known Subclasses:
AbstractSqmParameter, AbstractSqmPath, AbstractSqmPredicate, AsWrapperSqmExpression, JpaCriteriaParameter, SqmAliasedNodeRef, SqmAny, SqmAnyDiscriminatorValue, SqmBinaryArithmetic, SqmByUnit, SqmCaseSearched, SqmCaseSimple, SqmCoalesce, SqmCollectionSize, SqmEvery, SqmFieldLiteral, SqmFunction, SqmJpaCompoundSelection, SqmJpaCriteriaParameterWrapper, SqmLiteral, SqmLiteralEmbeddableType, SqmLiteralEntityType, SqmModifiedSubQueryExpression, SqmNamedExpression, SqmOver, SqmOverflow, SqmParameterizedEntityType, SqmSelfRenderingExpression, SqmStar, SqmSummarization, SqmToDuration, SqmTuple, SqmUnaryOperation
public abstract class AbstractSqmExpression<T>
extends AbstractJpaSelection<T>
implements SqmExpression<T>
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractSqmExpression(@Nullable SqmBindableType<? super T> type, NodeBuilder criteriaBuilder) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyInferableType(@Nullable SqmBindableType<?> type) Used to apply type information based on the expression's usage within the query.<X> SqmExpression<X> <X> SqmExpression<X> equalTo(Expression<?> value) in(Expression<?>... values) in(Expression<Collection<?>> values) in(Collection<?> values) protected voidinternalApplyInferableType(@Nullable SqmBindableType<?> newType) isNull()org.hibernate.query.sqm.internal.SqmCriteriaNodeBuildernotEqualTo(Expression<?> value) notEqualTo(Object value) Methods inherited from class AbstractJpaSelection
alias, getSelectionItems, isCompoundSelectionMethods inherited from class AbstractJpaTupleElement
copyTo, getAlias, getNodeType, setAlias, setExpressibleTypeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface JpaTupleElement
getJavaType, getJavaTypeName, isEnumMethods inherited from interface Selection
isCompoundSelectionMethods inherited from interface SqmCacheable
cacheHashCode, isCompatibleMethods inherited from interface SqmExpression
asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, castAs, copy, getNodeType, visitSubSelectableNodesMethods inherited from interface SqmNode
asLoggableTextMethods inherited from interface SqmSelectableNode
getTupleLengthMethods inherited from interface SqmTypedNode
getExpressible, getNodeJavaTypeMethods inherited from interface SqmVisitableNode
accept, appendHqlString, toHqlStringMethods inherited from interface TupleElement
getAlias
-
Constructor Details
-
AbstractSqmExpression
public AbstractSqmExpression(@Nullable SqmBindableType<? super T> type, NodeBuilder criteriaBuilder)
-
-
Method Details
-
nodeBuilder
public org.hibernate.query.sqm.internal.SqmCriteriaNodeBuilder nodeBuilder()- Specified by:
nodeBuilderin interfaceSqmNode- Overrides:
nodeBuilderin classAbstractSqmNode
-
applyInferableType
Description copied from interface:SqmExpressionUsed to apply type information based on the expression's usage within the query.- Specified by:
applyInferableTypein interfaceSqmExpression<T>
-
internalApplyInferableType
-
as
- Specified by:
asin interfaceExpression<T>- Specified by:
asin interfaceJpaExpression<T>- Specified by:
asin interfaceSqmExpression<T>
-
isNull
- Specified by:
isNullin interfaceExpression<T>- Specified by:
isNullin interfaceJpaExpression<T>- Specified by:
isNullin interfaceSqmExpression<T>
-
isNotNull
- Specified by:
isNotNullin interfaceExpression<T>- Specified by:
isNotNullin interfaceJpaExpression<T>- Specified by:
isNotNullin interfaceSqmExpression<T>
-
equalTo
- Specified by:
equalToin interfaceExpression<T>- Specified by:
equalToin interfaceJpaExpression<T>- Specified by:
equalToin interfaceSqmExpression<T>
-
equalTo
- Specified by:
equalToin interfaceExpression<T>- Specified by:
equalToin interfaceJpaExpression<T>- Specified by:
equalToin interfaceSqmExpression<T>
-
notEqualTo
- Specified by:
notEqualToin interfaceExpression<T>- Specified by:
notEqualToin interfaceJpaExpression<T>- Specified by:
notEqualToin interfaceSqmExpression<T>
-
notEqualTo
- Specified by:
notEqualToin interfaceExpression<T>- Specified by:
notEqualToin interfaceJpaExpression<T>- Specified by:
notEqualToin interfaceSqmExpression<T>
-
cast
- Specified by:
castin interfaceExpression<T>- Specified by:
castin interfaceJpaExpression<T>- Specified by:
castin interfaceSqmExpression<T>
-
in
- Specified by:
inin interfaceExpression<T>- Specified by:
inin interfaceJpaExpression<T>- Specified by:
inin interfaceSqmExpression<T>
-
in
- Specified by:
inin interfaceExpression<T>- Specified by:
inin interfaceJpaExpression<T>- Specified by:
inin interfaceSqmExpression<T>
-
in
- Specified by:
inin interfaceExpression<T>- Specified by:
inin interfaceJpaExpression<T>- Specified by:
inin interfaceSqmExpression<T>
-
in
- Specified by:
inin interfaceExpression<T>- Specified by:
inin interfaceJpaExpression<T>- Specified by:
inin interfaceSqmExpression<T>
-
getJavaTypeDescriptor
- Specified by:
getJavaTypeDescriptorin interfaceJpaTupleElement<T>
-