TruncFunction for SQL Server versions < 16 which uses the custom DateTruncConvertEmulation
| Modifier and Type | Class and Description |
|---|---|
| private static class | SqlServerConvertTruncFunction.DateTruncConvertEmulation
Deprecated
as a consequence of Custom DateTruncEmulation being deprecated.
DateTruncEmulation that handles rendering when using the convert function to parse datetime strings
|
| Modifier and Type | Field and Description |
|---|---|
| private final SqlServerConvertTruncFunction. | dateTruncEmulation
Hides org.
Deprecated
as a consequence of
SqlServerConvertTruncFunction.DateTruncConvertEmulation being deprecated.
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected <T> SelfRenderingSqmFunction | generateSqmFunctionExpression(List<? extends SqmTypedNode<?>>
the arguments of the function invocation arguments, ReturnableType<T> the function return type as inferred from its usage impliedResultType, QueryEngine queryEngine)Overrides org. |
| dateTruncEmulation | back to summary |
|---|---|
| private final SqlServerConvertTruncFunction. Hides org. Deprecated as a consequence of | |
| SqlServerConvertTruncFunction | back to summary |
|---|---|
| public SqlServerConvertTruncFunction(TypeConfiguration typeConfiguration) | |
| generateSqmFunctionExpression | back to summary |
|---|---|
| protected <T> SelfRenderingSqmFunction Overrides org. Doc from org. Return an SQM node or subtree representing an invocation of this function with the given arguments. This method may be overridden in the case of function descriptors that wish to customize creation of the node.
| |
Deprecated
as a consequence of DateTruncEmulation being deprecated. See corresponding docs for further information.
DateTruncEmulation that handles rendering when using the convert function to parse datetime strings
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker)
Overrides org. Implements org. |
| DateTruncConvertEmulation | back to summary |
|---|---|
| public DateTruncConvertEmulation(TypeConfiguration typeConfiguration) | |
| render | back to summary |
|---|---|
| public void render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker) Overrides org. Implements org.
| |