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 classParamLocationRecognizer.InFlightJpaOrdinalParameterStateDeprecated, for removal: This API element is subject to removal in a future version.Internal in-flight representation of a recognized named parameterstatic classParamLocationRecognizer.InFlightNamedParameterStateDeprecated, for removal: This API element is subject to removal in a future version.Internal in-flight representation of a recognized named parameterstatic classParamLocationRecognizer.InFlightOrdinalParameterStateDeprecated, 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.voidjpaPositionalParameter(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 recognizedvoidnamedParameter(String name, int position)Deprecated, for removal: This API element is subject to removal in a future version.Called when a named parameter is recognizedvoidordinalParameter(int position)Deprecated, for removal: This API element is subject to removal in a future version.Called when an ordinal parameter is recognizedvoidother(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.voidvalidate()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:ParameterRecognizerCalled when an ordinal parameter is recognized- Specified by:
ordinalParameterin 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:ParameterRecognizerCalled when a named parameter is recognized- Specified by:
namedParameterin 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:ParameterRecognizerCalled when a JPA-style named parameter is recognized- Specified by:
jpaPositionalParameterin 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:ParameterRecognizerCalled when a character that is not part of a parameter is recognized.- Specified by:
otherin interfaceParameterRecognizer- Parameters:
character- The recognized character
-
-