Package org.hibernate.engine.query.spi
Class ParamLocationRecognizer
- java.lang.Object
-
- org.hibernate.engine.query.spi.ParamLocationRecognizer
-
- All Implemented Interfaces:
ParameterRecognizer
@Deprecated(since="6.4", forRemoval=true) public class ParamLocationRecognizer extends Object implements ParameterRecognizer
Deprecated, for removal: This API element is subject to removal in a future version.No longer usedImplements a parameter parser recognizer specifically for the purpose of journaling parameter locations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ParamLocationRecognizer.InFlightJpaOrdinalParameterState
Deprecated, for removal: This API element is subject to removal in a future version.Internal in-flight representation of a recognized named parameterstatic class
ParamLocationRecognizer.InFlightNamedParameterState
Deprecated, for removal: This API element is subject to removal in a future version.Internal in-flight representation of a recognized named parameterstatic class
ParamLocationRecognizer.InFlightOrdinalParameterState
Deprecated, for removal: This API element is subject to removal in a future version.Internal in-flight representation of a recognized named parameter
-
Constructor Summary
Constructors Constructor Description ParamLocationRecognizer(int jdbcStyleOrdinalCountBase)
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Map<String,NamedParameterDescriptor<?>>
getNamedParameterDescriptionMap()
Deprecated, for removal: This API element is subject to removal in a future version.Map<Integer,OrdinalParameterDescriptor<?>>
getOrdinalParameterDescriptionMap()
Deprecated, for removal: This API element is subject to removal in a future version.void
jpaPositionalParameter(int name, int position)
Deprecated, for removal: This API element is subject to removal in a future version.Called when a JPA-style named parameter is recognizedvoid
namedParameter(String name, int position)
Deprecated, for removal: This API element is subject to removal in a future version.Called when a named parameter is recognizedvoid
ordinalParameter(int position)
Deprecated, for removal: This API element is subject to removal in a future version.Called when an ordinal parameter is recognizedvoid
other(char character)
Deprecated, for removal: This API element is subject to removal in a future version.Called when a character that is not part of a parameter is recognized.void
validate()
Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.query.sql.spi.ParameterRecognizer
complete
-
-
-
-
Method Detail
-
validate
public void validate()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getNamedParameterDescriptionMap
public Map<String,NamedParameterDescriptor<?>> getNamedParameterDescriptionMap()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getOrdinalParameterDescriptionMap
public Map<Integer,OrdinalParameterDescriptor<?>> getOrdinalParameterDescriptionMap()
Deprecated, for removal: This API element is subject to removal in a future version.
-
ordinalParameter
public void ordinalParameter(int position)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ParameterRecognizer
Called when an ordinal parameter is recognized- Specified by:
ordinalParameter
in interfaceParameterRecognizer
- Parameters:
position
- The position within the query
-
namedParameter
public void namedParameter(String name, int position)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ParameterRecognizer
Called when a named parameter is recognized- Specified by:
namedParameter
in interfaceParameterRecognizer
- Parameters:
name
- The recognized parameter nameposition
- The position within the query
-
jpaPositionalParameter
public void jpaPositionalParameter(int name, int position)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ParameterRecognizer
Called when a JPA-style named parameter is recognized- Specified by:
jpaPositionalParameter
in interfaceParameterRecognizer
- Parameters:
name
- The label (identifier) of the JPA-style parameter. e.g. for a parameter `?2`, the label is `2`position
- The position within the query
-
other
public void other(char character)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ParameterRecognizer
Called when a character that is not part of a parameter is recognized.- Specified by:
other
in interfaceParameterRecognizer
- Parameters:
character
- The recognized character
-
-