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:
jakarta.persistence.criteria.Expression<T>
,jakarta.persistence.criteria.ParameterExpression<T>
,jakarta.persistence.criteria.Selection<T>
,jakarta.persistence.Parameter<T>
,jakarta.persistence.TupleElement<T>
,Serializable
,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 void
appendHqlString(StringBuilder sb)
ValueBindJpaCriteriaParameter<T>
copy(SqmCopyContext context)
boolean
equals(Object o)
T
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, 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 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
-
-
-
-
Constructor Detail
-
ValueBindJpaCriteriaParameter
public ValueBindJpaCriteriaParameter(BindableType<T> type, T value, NodeBuilder nodeBuilder)
-
-
Method Detail
-
copy
public ValueBindJpaCriteriaParameter<T> copy(SqmCopyContext context)
- 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
public T getValue()
- Overrides:
getValue
in classJpaCriteriaParameter<T>
-
appendHqlString
public void appendHqlString(StringBuilder sb)
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
- Overrides:
appendHqlString
in classJpaCriteriaParameter<T>
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classJpaCriteriaParameter<T>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classJpaCriteriaParameter<T>
-
-