Deprecated
as a consequence of AbstractSqmSelfRenderingFunctionDescriptor being deprecated. See corresponding docs for further information.
trim() function, which has a funny syntax
involving a TrimSpec, and portability is achieved using
Dialect#trimPattern(TrimSpec, boolean).
For example, trim(leading ' ' from text).
| Modifier and Type | Field and Description |
|---|---|
| private SqlAstNodeRenderingMode | |
| private final Dialect |
| Access | Constructor and Description |
|---|---|
| public | |
| public | TrimFunction(Dialect dialect, TypeConfiguration typeConfiguration, SqlAstNodeRenderingMode argumentRenderingMode)
|
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| private static boolean | |
| public void | render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker)
Overrides org. Implements org. |
| argumentRenderingMode | back to summary |
|---|---|
| private SqlAstNodeRenderingMode argumentRenderingMode | |
| dialect | back to summary |
|---|---|
| private final Dialect dialect | |
| TrimFunction | back to summary |
|---|---|
| public TrimFunction(Dialect dialect, TypeConfiguration typeConfiguration) | |
| TrimFunction | back to summary |
|---|---|
| public TrimFunction(Dialect dialect, TypeConfiguration typeConfiguration, SqlAstNodeRenderingMode argumentRenderingMode) | |
| getArgumentListSignature | back to summary |
|---|---|
| public String getArgumentListSignature() Overrides org.
| |
| isWhitespace | back to summary |
|---|---|
| private static boolean isWhitespace(SqlAstNode trimCharacter) | |
| render | back to summary |
|---|---|
| public void render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker) Overrides org. Implements org.
| |