SqlAstNode.
Some functions/contexts require the use of literals/expressions rather than parameters
like for example the `char` function in Derby which requires the length as literal.
Another example is a function that renders a function argument into a subquery select and group by item.
It can use INLINE_PARAMETERS so that a database can match such a select item to a group by item.
Without this, such queries would result in a query error.
SqlAstTranslator#render(SqlAstNode, SqlAstNodeRenderingMode)
| Modifier and Type | Field and Description |
|---|---|
| public static final SqlAstNodeRenderingMode | DEFAULT
Render node as is. |
| public static final SqlAstNodeRenderingMode | INLINE_ALL_PARAMETERS
Render all nested parameters as literals. |
| public static final SqlAstNodeRenderingMode | INLINE_PARAMETERS
Render parameters as literals. |
| public static final SqlAstNodeRenderingMode | NO_PLAIN_PARAMETER
Don't render plain parameters. |
| public static final SqlAstNodeRenderingMode | NO_UNTYPED
Don't render untyped expressions e.g. plain parameters or |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SqlAstNodeRenderingMode | |
| public static SqlAstNodeRenderingMode[] |
| DEFAULT | back to summary |
|---|---|
| public static final SqlAstNodeRenderingMode DEFAULT Render node as is. | |
| INLINE_ALL_PARAMETERS | back to summary |
|---|---|
| public static final SqlAstNodeRenderingMode INLINE_ALL_PARAMETERS Render all nested parameters as literals.
All parameters within the | |
| INLINE_PARAMETERS | back to summary |
|---|---|
| public static final SqlAstNodeRenderingMode INLINE_PARAMETERS Render parameters as literals.
All parameters within the | |
| NO_PLAIN_PARAMETER | back to summary |
|---|---|
| public static final SqlAstNodeRenderingMode NO_PLAIN_PARAMETER Don't render plain parameters. Render it as literal or as expression.
If the | |
| NO_UNTYPED | back to summary |
|---|---|
| public static final SqlAstNodeRenderingMode NO_UNTYPED Don't render untyped expressions e.g. plain parameters or | |
| SqlAstNodeRenderingMode | back to summary |
|---|---|
| private SqlAstNodeRenderingMode() | |
| valueOf | back to summary |
|---|---|
| public static SqlAstNodeRenderingMode valueOf(String name) | |
| values | back to summary |
|---|---|
| public static SqlAstNodeRenderingMode[] values() | |