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 used
Implements a parameter parser recognizer specifically for the purpose
of journaling parameter locations.
- Author:
- Steve Ebersole
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated, for removal: This API element is subject to removal in a future version.Internal in-flight representation of a recognized named parameterstatic classDeprecated, for removal: This API element is subject to removal in a future version.Internal in-flight representation of a recognized named parameterstatic classDeprecated, for removal: This API element is subject to removal in a future version.Internal in-flight representation of a recognized named parameter -
Constructor Summary
ConstructorsConstructorDescriptionParamLocationRecognizer(int jdbcStyleOrdinalCountBase) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.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, waitMethods inherited from interface org.hibernate.query.sql.spi.ParameterRecognizer
complete
-
Constructor Details
-
ParamLocationRecognizer
public ParamLocationRecognizer(int jdbcStyleOrdinalCountBase) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
validate
public void validate()Deprecated, for removal: This API element is subject to removal in a future version. -
getNamedParameterDescriptionMap
Deprecated, for removal: This API element is subject to removal in a future version. -
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
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
-