Class SqmCoalesce<T>
java.lang.Object
org.hibernate.query.sqm.tree.spi.AbstractSqmNode
org.hibernate.query.sqm.tree.spi.jpa.AbstractJpaTupleElement<T>
org.hibernate.query.sqm.tree.spi.jpa.AbstractJpaSelection<T>
org.hibernate.query.sqm.tree.spi.expression.AbstractSqmExpression<T>
org.hibernate.query.sqm.tree.spi.expression.SqmCoalesce<T>
- All Implemented Interfaces:
CriteriaBuilder.Coalesce<T>, Expression<T>, Selection<T>, TupleElement<T>, Serializable, JpaCoalesce<T>, JpaCriteriaNode, JpaExpression<T>, JpaSelection<T>, JpaTupleElement<T>, SqmExpression<T>, SqmSelectableNode<T>, SqmCacheable, SqmExpressibleAccessor<T>, SqmNode, SqmTypedNode<T>, SqmVisitableNode
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmCoalesce(NodeBuilder nodeBuilder) SqmCoalesce(SqmBindableType<T> type, int numberOfArguments, NodeBuilder nodeBuilder) SqmCoalesce(SqmBindableType<T> type, NodeBuilder nodeBuilder) -
Method Summary
Modifier and TypeMethodDescription<X> Xaccept(SemanticQueryWalker<X> walker) Accept the walker per visitationvoidappendHqlString(StringBuilder hql, SqmRenderContext context) intcopy(SqmCopyContext context) booleanList<SqmExpression<? extends T>> inthashCode()protected voidinternalApplyInferableType(SqmBindableType<?> newType) booleanisCompatible(Object object) value(Expression<? extends T> value) Add a value to this coalesce expression.value(JpaExpression<? extends T> value) Add a value to this coalesce expression.voidvalue(SqmExpression<? extends T> expression) Add a value to this coalesce expression.Add values to this coalesce expression.Methods inherited from class AbstractSqmExpression
applyInferableType, as, cast, coalesce, coalesce, count, countDistinct, equalTo, equalTo, getJavaTypeDescriptor, in, in, in, in, in, isMember, isNotMember, isNotNull, isNull, nodeBuilder, notEqualTo, notEqualTo, nullif, nullif, selectCase, selectCaseMethods inherited from class AbstractJpaSelection
alias, getSelectionItems, isCompoundSelectionMethods inherited from class AbstractJpaTupleElement
copyTo, getAlias, getNodeType, setAlias, setExpressibleTypeMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JpaExpression
coalesce, coalesce, count, countDistinct, in, isMember, isNotMember, nullif, nullif, selectCase, selectCaseMethods inherited from interface JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface JpaTupleElement
getJavaType, getJavaTypeDescriptor, getJavaTypeIfKnown, getJavaTypeName, isEnumMethods inherited from interface Selection
isCompoundSelectionMethods inherited from interface SqmExpression
asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, castAs, getNodeType, visitSubSelectableNodesMethods inherited from interface SqmSelectableNode
getTupleLengthMethods inherited from interface SqmTypedNode
getExpressible, getNodeJavaTypeMethods inherited from interface SqmVisitableNode
toHqlStringMethods inherited from interface TupleElement
getAlias
-
Constructor Details
-
SqmCoalesce
-
SqmCoalesce
-
SqmCoalesce
public SqmCoalesce(@Nullable SqmBindableType<T> type, int numberOfArguments, @Nonnull NodeBuilder nodeBuilder)
-
-
Method Details
-
copy
- Specified by:
copyin interfaceSqmExpression<T>- Specified by:
copyin interfaceSqmNode- Specified by:
copyin interfaceSqmSelectableNode<T>- Specified by:
copyin interfaceSqmTypedNode<T>
-
getFunctionDescriptor
-
value
-
internalApplyInferableType
- Overrides:
internalApplyInferableTypein classAbstractSqmExpression<T>
-
getArguments
-
accept
Description copied from interface:SqmVisitableNodeAccept the walker per visitation- Specified by:
acceptin interfaceSqmVisitableNode
-
asLoggableText
- Specified by:
asLoggableTextin interfaceSqmNode
-
appendHqlString
- Specified by:
appendHqlStringin interfaceSqmVisitableNode
-
equals
-
hashCode
-
isCompatible
- Specified by:
isCompatiblein interfaceSqmCacheable
-
cacheHashCode
public int cacheHashCode()- Specified by:
cacheHashCodein interfaceSqmCacheable
-
value
Description copied from interface:JpaCoalesceAdd a value to this coalesce expression.- Specified by:
valuein interfaceCriteriaBuilder.Coalesce<T>- Specified by:
valuein interfaceJpaCoalesce<T>
-
value
Description copied from interface:JpaCoalesceAdd a value to this coalesce expression.- Specified by:
valuein interfaceCriteriaBuilder.Coalesce<T>- Specified by:
valuein interfaceJpaCoalesce<T>
-
value
Description copied from interface:JpaCoalesceAdd a value to this coalesce expression.- Specified by:
valuein interfaceJpaCoalesce<T>
-
values
Description copied from interface:JpaCoalesceAdd values to this coalesce expression.- Specified by:
valuesin interfaceJpaCoalesce<T>
-