public static final class TSQLRoutine.PresetValue extends Object
TSQLRoutine.PresetValue.Kind.SUPPLIED_UNKNOWN value says a caller passes a value nobody knows: the parameter is unknown, not
absent, so its default does not apply.| Modifier and Type | Class and Description |
|---|---|
static class |
TSQLRoutine.PresetValue.Kind |
| Modifier and Type | Method and Description |
|---|---|
TSQLRoutine.PresetValue.Kind |
getKind() |
String |
getText()
The string or the number as written; null for SQL NULL and for a supplied unknown value.
|
static TSQLRoutine.PresetValue |
number(String text)
A number, as written (
"5", "1.5"). |
static TSQLRoutine.PresetValue |
sqlNull() |
static TSQLRoutine.PresetValue |
string(String value) |
static TSQLRoutine.PresetValue |
suppliedUnknown() |
String |
toString() |
public static TSQLRoutine.PresetValue string(String value)
public static TSQLRoutine.PresetValue number(String text)
"5", "1.5").public static TSQLRoutine.PresetValue sqlNull()
public static TSQLRoutine.PresetValue suppliedUnknown()
public TSQLRoutine.PresetValue.Kind getKind()
public String getText()