| Package | Description |
|---|---|
| gudusoft.gsqlparser.sqlenv |
| Modifier and Type | Method and Description |
|---|---|
TSQLRoutine.PresetValue |
TSQLRoutine.getParameterPreset(String parameterName)
The preset of the parameter named
parameterName, or null when none is set. |
TSQLRoutine.PresetValue |
TSQLEnv.getProcedureParameterValue(String qualifiedProcedureName,
String parameterName)
The value preset for parameter
parameterName of the procedure, or null when none is. |
static TSQLRoutine.PresetValue |
TSQLRoutine.PresetValue.number(String text)
A number, as written (
"5", "1.5"). |
static TSQLRoutine.PresetValue |
TSQLRoutine.PresetValue.sqlNull() |
static TSQLRoutine.PresetValue |
TSQLRoutine.PresetValue.string(String value) |
static TSQLRoutine.PresetValue |
TSQLRoutine.PresetValue.suppliedUnknown() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,TSQLRoutine.PresetValue> |
TSQLRoutine.getParameterPresets()
Every preset, by the name it was set under, in the order set.
|
Map<String,TSQLRoutine.PresetValue> |
TSQLEnv.getProcedureParameterPresets(String qualifiedProcedureName)
Every value preset for the procedure's parameters, by parameter name; empty when none is.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TSQLRoutine.setParameterPreset(String parameterName,
TSQLRoutine.PresetValue value)
Sets, or with a null value removes, the preset of the parameter named
parameterName, as the procedure
declares it (@pipeline_type); the name is compared as the vendor compares column names. |
void |
TSQLEnv.setProcedureParameterValue(String qualifiedProcedureName,
String parameterName,
TSQLRoutine.PresetValue value)
Presets a value for parameter
parameterName (with its @) of the procedure
qualifiedProcedureName (Mantis 4962): the dynamic SQL evaluation of the procedure reads it as the value
a caller passes, ahead of the calls of the procedure in the analysis (an explicit binding of
resolveDynamicSqlLineage replaces the presets). |