Package org.hibernate.query.internal
Class QueryParameterPositionalImpl<T>
java.lang.Object
org.hibernate.query.spi.AbstractQueryParameter<T>
org.hibernate.query.internal.QueryParameterPositionalImpl<T>
- All Implemented Interfaces:
Parameter<T>,QueryParameter<T>,QueryParameterImplementor<T>
QueryParameter impl for positional-parameters in HQL, JPQL or Criteria queries.
-
Constructor Summary
ConstructorsConstructorDescriptionQueryParameterPositionalImpl(Integer position, boolean allowMultiValuedBinding, BindableType<T> anticipatedType) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic <T> QueryParameterPositionalImpl<T> fromNativeQuery(int position) static <T> QueryParameterPositionalImpl<T> fromSqm(SqmParameter<T> parameter) Create a positional parameter descriptor from the SQM parameterinthashCode()Methods inherited from class org.hibernate.query.spi.AbstractQueryParameter
allowsMultiValuedBinding, applyAnticipatedType, disallowMultiValuedBinding, getHibernateType, getName, getParameterTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.query.QueryParameter
isNamed, isOrdinal
-
Constructor Details
-
QueryParameterPositionalImpl
public QueryParameterPositionalImpl(Integer position, boolean allowMultiValuedBinding, BindableType<T> anticipatedType)
-
-
Method Details
-
fromSqm
Create a positional parameter descriptor from the SQM parameter- Parameters:
parameter- The source parameter info- Returns:
- The parameter descriptor
-
fromNativeQuery
-
getPosition
- Specified by:
getPositionin interfaceParameter<T>- Overrides:
getPositionin classAbstractQueryParameter<T>
-
toMemento
-
equals
-
hashCode
public int hashCode()
-