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
public class ValueBindJpaCriteriaParameter<T> extends JpaCriteriaParameter<T>
It is a JpaCriteriaParameter created from a value when ValueHandlingMode is equal to BIND- See Also:
ValueHandlingMode, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValueBindJpaCriteriaParameter(BindableType<T> type, T value, NodeBuilder nodeBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendHqlString(StringBuilder sb)intcompareTo(SqmParameter anotherParameter)ValueBindJpaCriteriaParameter<T>copy(SqmCopyContext context)booleanequals(Object o)TgetValue()inthashCode()-
Methods inherited from class org.hibernate.query.sqm.tree.expression.JpaCriteriaParameter
accept, allowMultiValuedBinding, allowsMultiValuedBinding, applyAnticipatedType, copy, disallowMultiValuedBinding, getAnticipatedType, getHibernateType, getName, getParameterType, getPosition, internalApplyInferableType, toMemento
-
Methods inherited from class org.hibernate.query.sqm.tree.expression.AbstractSqmExpression
alias, applyInferableType, as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, getJavaTypeDescriptor, in, in, in, in, isNotNull, isNull, nodeBuilder
-
Methods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection
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
-
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, castAs, 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.expression.SqmParameter
getNodeType
-
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 Detail
-
ValueBindJpaCriteriaParameter
public ValueBindJpaCriteriaParameter(BindableType<T> type, T value, NodeBuilder nodeBuilder)
-
-
Method Detail
-
copy
public ValueBindJpaCriteriaParameter<T> copy(SqmCopyContext context)
- Specified by:
copyin interfaceSqmExpression<T>- Specified by:
copyin interfaceSqmNode- Specified by:
copyin interfaceSqmParameter<T>- Specified by:
copyin interfaceSqmSelectableNode<T>- Specified by:
copyin interfaceSqmTypedNode<T>- Overrides:
copyin classJpaCriteriaParameter<T>
-
getValue
public T getValue()
- Overrides:
getValuein classJpaCriteriaParameter<T>
-
appendHqlString
public void appendHqlString(StringBuilder sb)
- Specified by:
appendHqlStringin interfaceSqmVisitableNode- Overrides:
appendHqlStringin classJpaCriteriaParameter<T>
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classJpaCriteriaParameter<T>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classJpaCriteriaParameter<T>
-
compareTo
public int compareTo(SqmParameter anotherParameter)
- Specified by:
compareToin interfaceComparable<T>- Specified by:
compareToin interfaceSqmParameter<T>- Overrides:
compareToin classJpaCriteriaParameter<T>
-
-