| Modifier and Type | Class and Description |
|---|---|
| public static class | ParamLocationRecognizer.InFlightJpaOrdinalParameterState
Internal in-flight representation of a recognized named parameter |
| public static class | ParamLocationRecognizer.InFlightNamedParameterState
Internal in-flight representation of a recognized named parameter |
| public static class | ParamLocationRecognizer.InFlightOrdinalParameterState
Internal in-flight representation of a recognized named parameter |
| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private Map | |
| private Map | |
| private int | |
| private final int | |
| private Map | |
| private Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Map | |
| private ParamLocationRecognizer. | |
| private ParamLocationRecognizer. | |
| public Map | |
| public void | jpaPositionalParameter(int
The identifier (name) of the JPA-style parameter name, int The position within the query position)Implements org. |
| private ParameterRecognitionException | |
| public void | namedParameter(String
The recognized parameter name name, int The position within the query position)Implements org. |
| public void | ordinalParameter(int
The position within the query position)Implements org. |
| public void | other(char
The recognized character character)Implements org. |
| public void | outParameter(int
The position within the query position)Implements org. |
| public static ParamLocationRecognizer | Returns: The generated recognizer, with journaled location info.The query to be parsed for parameter locations. query, SessionFactoryImplementor sessionFactory)
Deprecated
as a consequence of
Convenience method for creating a param location recognizer and
initiating the parse.
SessionFactoryImplementor being deprecated.
|
| inFlightJpaOrdinalStateMap | back to summary |
|---|---|
| private Map<Integer, ParamLocationRecognizer. | |
| inFlightNamedStateMap | back to summary |
|---|---|
| private Map<String, ParamLocationRecognizer. | |
| inFlightOrdinalStateMap | back to summary |
|---|---|
| private Map<Integer, ParamLocationRecognizer. | |
| jdbcStyleOrdinalCount | back to summary |
|---|---|
| private int jdbcStyleOrdinalCount | |
| jdbcStyleOrdinalCountBase | back to summary |
|---|---|
| private final int jdbcStyleOrdinalCountBase | |
| namedParameterDescriptors | back to summary |
|---|---|
| private Map<String, NamedParameterDescriptor> namedParameterDescriptors | |
| ordinalParameterDescriptors | back to summary |
|---|---|
| private Map<Integer, OrdinalParameterDescriptor> ordinalParameterDescriptors | |
| ParamLocationRecognizer | back to summary |
|---|---|
| public ParamLocationRecognizer(int jdbcStyleOrdinalCountBase) | |
| complete | back to summary |
|---|---|
| public void complete() Implements org.
| |
| getNamedParameterDescriptionMap | back to summary |
|---|---|
| public Map | |
| getOrBuildJpaOrdinalParameterDescription | back to summary |
|---|---|
| private ParamLocationRecognizer. | |
| getOrBuildNamedParameterDescription | back to summary |
|---|---|
| private ParamLocationRecognizer. | |
| getOrdinalParameterDescriptionMap | back to summary |
|---|---|
| public Map | |
| jpaPositionalParameter | back to summary |
|---|---|
| public void jpaPositionalParameter(int name, int position) Implements org. Doc from org. Called when a JPA-style named parameter is recognized
| |
| mixedParamStrategy | back to summary |
|---|---|
| private ParameterRecognitionException mixedParamStrategy() | |
| namedParameter | back to summary |
|---|---|
| public void namedParameter(String name, int position) Implements org. Doc from org. Called when a named parameter is recognized | |
| ordinalParameter | back to summary |
|---|---|
| public void ordinalParameter(int position) Implements org. Doc from org. Called when an ordinal parameter is recognized
| |
| other | back to summary |
|---|---|
| public void other(char character) Implements org. Doc from org. Called when a character that is not a parameter (or part of a parameter definition) is recognized.
| |
| outParameter | back to summary |
|---|---|
| public void outParameter(int position) Implements org. Doc from org. Called when an output parameter is recognized
| |
| parseLocations | back to summary |
|---|---|
| public static ParamLocationRecognizer parseLocations(String query, SessionFactoryImplementor sessionFactory)
Deprecated as a consequence of Convenience method for creating a param location recognizer and initiating the parse.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private OrdinalParameterDescriptor |
| identifier | back to summary |
|---|---|
| private final int identifier | |
| sourcePositions | back to summary |
|---|---|
| private final List<Integer> sourcePositions | |
| InFlightJpaOrdinalParameterState | back to summary |
|---|---|
| pack-priv InFlightJpaOrdinalParameterState(int identifier) | |
| add | back to summary |
|---|---|
| private void add(int position) | |
| complete | back to summary |
|---|---|
| private OrdinalParameterDescriptor complete() | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final List |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private NamedParameterDescriptor |
| name | back to summary |
|---|---|
| private final String name | |
| sourcePositions | back to summary |
|---|---|
| private final List<Integer> sourcePositions | |
| InFlightNamedParameterState | back to summary |
|---|---|
| pack-priv InFlightNamedParameterState(String name) | |
| add | back to summary |
|---|---|
| private void add(int position) | |
| complete | back to summary |
|---|---|
| private NamedParameterDescriptor complete() | |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private OrdinalParameterDescriptor |
| identifier | back to summary |
|---|---|
| private final int identifier | |
| sourcePosition | back to summary |
|---|---|
| private final int sourcePosition | |
| valuePosition | back to summary |
|---|---|
| private final int valuePosition | |
| InFlightOrdinalParameterState | back to summary |
|---|---|
| pack-priv InFlightOrdinalParameterState(int label, int valuePosition, int sourcePosition) | |
| complete | back to summary |
|---|---|
| private OrdinalParameterDescriptor complete() | |