public static class SQLQueryParser.ParameterSubstitutionRecognizer extends Object implements ParameterParser.Recognizer
Constructor and Description |
---|
ParameterSubstitutionRecognizer(SessionFactoryImplementor factory) |
Modifier and Type | Method and Description |
---|---|
void |
complete() |
List<ParameterBinder> |
getParameterValueBinders() |
void |
jpaPositionalParameter(int 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 ParameterSubstitutionRecognizer(SessionFactoryImplementor factory)
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 jpaPositionalParameter(int name, int position)
ParameterParser.Recognizer
jpaPositionalParameter
in interface ParameterParser.Recognizer
name
- The identifier (name) of the JPA-style parameterposition
- 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 other(char character)
ParameterParser.Recognizer
other
in interface ParameterParser.Recognizer
character
- The recognized characterpublic List<ParameterBinder> getParameterValueBinders()
public void complete()
complete
in interface ParameterParser.Recognizer
Copyright © 2020 JBoss by Red Hat. All rights reserved.