Class ValueBindJpaCriteriaParameter<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>
org.hibernate.query.sqm.tree.expression.JpaCriteriaParameter<T>
org.hibernate.query.sqm.tree.expression.ValueBindJpaCriteriaParameter<T>
- All Implemented Interfaces:
Expression<T>
,ParameterExpression<T>
,Selection<T>
,Parameter<T>
,TupleElement<T>
,Serializable
,Comparable<SqmParameter<T>>
,JpaCriteriaNode
,JpaExpression<T>
,JpaParameterExpression<T>
,JpaSelection<T>
,JpaTupleElement<T>
,QueryParameter<T>
,QueryParameterImplementor<T>
,SqmExpression<T>
,SqmParameter<T>
,SqmSelectableNode<T>
,SqmExpressibleAccessor<T>
,SqmNode
,SqmTypedNode<T>
,SqmVisitableNode
It is a JpaCriteriaParameter created from a value when ValueHandlingMode is equal to BIND
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionValueBindJpaCriteriaParameter
(BindableType<? super T> type, T value, NodeBuilder nodeBuilder) -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
compareTo
(SqmParameter anotherParameter) copy
(SqmCopyContext context) boolean
getValue()
int
hashCode()
Methods inherited from class org.hibernate.query.sqm.tree.expression.JpaCriteriaParameter
accept, allowMultiValuedBinding, allowsMultiValuedBinding, applyAnticipatedType, copy, disallowMultiValuedBinding, getAnticipatedType, getHibernateType, getName, getParameterType, getPosition, getTupleLength, internalApplyInferableType, toMemento
Methods inherited from class org.hibernate.query.sqm.tree.expression.AbstractSqmExpression
applyInferableType, as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, equalTo, equalTo, getJavaTypeDescriptor, in, in, in, in, isNotNull, isNull, nodeBuilder
Methods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection
alias, getSelectionItems, isCompoundSelection
Methods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement
copyTo, getAlias, getNodeType, setAlias, setExpressibleType
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItems
Methods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeDescriptor, getJavaTypeName, isEnum
Methods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelection
Methods inherited from interface org.hibernate.query.sqm.tree.expression.SqmExpression
applyInferableType, as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, castAs, equalTo, equalTo, getNodeType, 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.SqmTypedNode
getExpressible, getNodeJavaType
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
toHqlString
Methods inherited from interface jakarta.persistence.TupleElement
getAlias
-
Constructor Details
-
ValueBindJpaCriteriaParameter
public ValueBindJpaCriteriaParameter(BindableType<? super T> type, T value, NodeBuilder nodeBuilder)
-
-
Method Details
-
copy
- Specified by:
copy
in interfaceSqmExpression<T>
- Specified by:
copy
in interfaceSqmNode
- Specified by:
copy
in interfaceSqmParameter<T>
- Specified by:
copy
in interfaceSqmSelectableNode<T>
- Specified by:
copy
in interfaceSqmTypedNode<T>
- Overrides:
copy
in classJpaCriteriaParameter<T>
-
getValue
- Overrides:
getValue
in classJpaCriteriaParameter<T>
-
appendHqlString
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
- Overrides:
appendHqlString
in classJpaCriteriaParameter<T>
-
equals
- Overrides:
equals
in classJpaCriteriaParameter<T>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classJpaCriteriaParameter<T>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<T>
- Specified by:
compareTo
in interfaceSqmParameter<T>
- Overrides:
compareTo
in classJpaCriteriaParameter<T>
-