public static class SQLQueryParser.ParameterSubstitutionRecognizer extends Object implements ParameterParser.Recognizer
Constructor and Description |
---|
ParameterSubstitutionRecognizer() |
Modifier and Type | Method and Description |
---|---|
void |
jpaPositionalParameter(String name,
int position)
Called when a JPA-style named parameter is recognized
|
void |
namedParameter(String name,
int position)
Called when a named parameter is recognized
|
void |
ordinalParameter(int position)
Called when an ordinal parameter is recognized
|
void |
other(char character)
Called when a character that is not a parameter (or part of a parameter dfinition) is recognized.
|
void |
outParameter(int position)
Called when an output parameter is recognized
|
public void outParameter(int position)
ParameterParser.Recognizer
outParameter
in interface ParameterParser.Recognizer
position
- The position within the querypublic void ordinalParameter(int position)
ParameterParser.Recognizer
ordinalParameter
in interface ParameterParser.Recognizer
position
- The position within the querypublic void namedParameter(String name, int position)
ParameterParser.Recognizer
namedParameter
in interface ParameterParser.Recognizer
name
- The recognized parameter nameposition
- The position within the querypublic void jpaPositionalParameter(String name, int position)
ParameterParser.Recognizer
jpaPositionalParameter
in interface ParameterParser.Recognizer
name
- The name of the JPA-style parameterposition
- The position within the querypublic void other(char character)
ParameterParser.Recognizer
other
in interface ParameterParser.Recognizer
character
- The recognized characterCopyright © 2016 JBoss by Red Hat. All rights reserved.