ParseContext or
RenderContext.
This can be useful to help distinguish between ways to generate SQL, e.g.:
CAST expressions are allowed to generate length,
precision, and scaleDELETING and similar "magic" identifiers are from a
TRIGGER, or not| Modifier and Type | Field and Description |
|---|---|
| public static final LanguageContext | BLOCK
The body of an anonymous block. |
| public static final LanguageContext | FUNCTION
The body of a stored function. |
| public static final LanguageContext | PROCEDURE
The body of a stored procedure. |
| public static final LanguageContext | QUERY
A SQL query, including DDL to create procedural elements. |
| public static final LanguageContext | TRIGGER
The body of a trigger. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static LanguageContext | |
| public static LanguageContext[] |
| BLOCK | back to summary |
|---|---|
| public static final LanguageContext BLOCK The body of an anonymous block. | |
| FUNCTION | back to summary |
|---|---|
| public static final LanguageContext FUNCTION The body of a stored function. | |
| PROCEDURE | back to summary |
|---|---|
| public static final LanguageContext PROCEDURE The body of a stored procedure. | |
| QUERY | back to summary |
|---|---|
| public static final LanguageContext QUERY A SQL query, including DDL to create procedural elements. | |
| TRIGGER | back to summary |
|---|---|
| public static final LanguageContext TRIGGER The body of a trigger. | |
| LanguageContext | back to summary |
|---|---|
| private LanguageContext() | |
| valueOf | back to summary |
|---|---|
| public static LanguageContext valueOf(String name) | |
| values | back to summary |
|---|---|
| public static LanguageContext[] values() | |