| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final String | |
| private final List | |
| private final List | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | addNamedParameter(String
the name of the parameter parameterName, int the start index in the original SQL String startIndex, int the end index in the original SQL String endIndex)Add a named parameter parsed from this SQL statement. |
| pack-priv int | |
| pack-priv String | |
| pack-priv int[] | Returns: the start index and end index, combined into an int array of length 2the position of the parameter
(as index in the parameter names List) parameterPosition)Return the parameter indexes for the specified parameter. |
| pack-priv List | |
| pack-priv int | |
| pack-priv int | |
| pack-priv void | setNamedParameterCount(int namedParameterCount)
Set the count of named parameters in the SQL statement. |
| pack-priv void | setTotalParameterCount(int totalParameterCount)
Set the total count of all the parameters in the SQL statement. |
| pack-priv void | setUnnamedParameterCount(int unnamedParameterCount)
Set the count of all the unnamed parameters in the SQL statement. |
| public String |
| namedParameterCount | back to summary |
|---|---|
| private int namedParameterCount | |
| originalSql | back to summary |
|---|---|
| private final String originalSql | |
| parameterIndexes | back to summary |
|---|---|
| private final List<int[]> parameterIndexes | |
| parameterNames | back to summary |
|---|---|
| private final List<String> parameterNames | |
| totalParameterCount | back to summary |
|---|---|
| private int totalParameterCount | |
| unnamedParameterCount | back to summary |
|---|---|
| private int unnamedParameterCount | |
| ParsedSql | back to summary |
|---|---|
| pack-priv ParsedSql(String originalSql) Create a new instance of the
| |
| addNamedParameter | back to summary |
|---|---|
| pack-priv void addNamedParameter(String parameterName, int startIndex, int endIndex) Add a named parameter parsed from this SQL statement.
| |
| getNamedParameterCount | back to summary |
|---|---|
| pack-priv int getNamedParameterCount() Return the count of named parameters in the SQL statement. Each parameter name counts once; repeated occurrences do not count here. | |
| getOriginalSql | back to summary |
|---|---|
| pack-priv String getOriginalSql() Return the SQL statement that is being parsed. | |
| getParameterIndexes | back to summary |
|---|---|
| pack-priv int[] getParameterIndexes(int parameterPosition) Return the parameter indexes for the specified parameter.
| |
| getParameterNames | back to summary |
|---|---|
| pack-priv List Return all the parameters (bind variables) in the parsed SQL statement. Repeated occurrences of the same parameter name are included here. | |
| getTotalParameterCount | back to summary |
|---|---|
| pack-priv int getTotalParameterCount() Return the total count of all the parameters in the SQL statement. Repeated occurrences of the same parameter name do count here. | |
| getUnnamedParameterCount | back to summary |
|---|---|
| pack-priv int getUnnamedParameterCount() Return the count of all the unnamed parameters in the SQL statement. | |
| setNamedParameterCount | back to summary |
|---|---|
| pack-priv void setNamedParameterCount(int namedParameterCount) Set the count of named parameters in the SQL statement. Each parameter name counts once; repeated occurrences do not count here. | |
| setTotalParameterCount | back to summary |
|---|---|
| pack-priv void setTotalParameterCount(int totalParameterCount) Set the total count of all the parameters in the SQL statement. Repeated occurrences of the same parameter name do count here. | |
| setUnnamedParameterCount | back to summary |
|---|---|
| pack-priv void setUnnamedParameterCount(int unnamedParameterCount) Set the count of all the unnamed parameters in the SQL statement. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Exposes the original SQL String.
| |