Package org.hibernate.engine.query.spi
Class OrdinalParameterDescriptor<T>
- java.lang.Object
-
- org.hibernate.engine.query.spi.AbstractParameterDescriptor<T>
-
- org.hibernate.engine.query.spi.OrdinalParameterDescriptor<T>
-
- All Implemented Interfaces:
jakarta.persistence.Parameter<T>
,QueryParameter<T>
public class OrdinalParameterDescriptor<T> extends AbstractParameterDescriptor<T>
Descriptor regarding an ordinal parameter.
-
-
Constructor Summary
Constructors Constructor Description OrdinalParameterDescriptor(int label, int valuePosition, BindableType<T> expectedType, int[] sourceLocations)
Constructs an ordinal parameter descriptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getPosition()
int
getValuePosition()
-
Methods inherited from class org.hibernate.engine.query.spi.AbstractParameterDescriptor
allowsMultiValuedBinding, getExpectedType, getHibernateType, getName, getParameterType, resetExpectedType
-
-
-
-
Constructor Detail
-
OrdinalParameterDescriptor
public OrdinalParameterDescriptor(int label, int valuePosition, BindableType<T> expectedType, int[] sourceLocations)
Constructs an ordinal parameter descriptor.
-
-
Method Detail
-
getPosition
public Integer getPosition()
- Specified by:
getPosition
in interfacejakarta.persistence.Parameter<T>
- Overrides:
getPosition
in classAbstractParameterDescriptor<T>
-
getValuePosition
public int getValuePosition()
-
-