Package org.hibernate.engine.query.spi
Class NamedParameterDescriptor<T>
- java.lang.Object
-
- org.hibernate.engine.query.spi.AbstractParameterDescriptor<T>
-
- org.hibernate.engine.query.spi.NamedParameterDescriptor<T>
-
- All Implemented Interfaces:
Parameter<T>
,QueryParameter<T>
@Incubating public class NamedParameterDescriptor<T> extends AbstractParameterDescriptor<T>
Descriptor regarding a named parameter.
-
-
Constructor Summary
Constructors Constructor Description NamedParameterDescriptor(String name, BindableType<T> expectedType, int[] sourceLocations)
Constructs a NamedParameterDescriptor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getName()
int
hashCode()
-
Methods inherited from class org.hibernate.engine.query.spi.AbstractParameterDescriptor
allowsMultiValuedBinding, getExpectedType, getHibernateType, getParameterType, getPosition, resetExpectedType
-
-
-
-
Constructor Detail
-
NamedParameterDescriptor
public NamedParameterDescriptor(String name, BindableType<T> expectedType, int[] sourceLocations)
Constructs a NamedParameterDescriptor- Parameters:
name
- The name of the parameterexpectedType
- The expected type of the parameter, according to the translatorsourceLocations
- The locations of the named parameters (aye aye aye)
-
-