TruncFunction for Sybase which uses a dialect-specific emulation function for datetimes
| Modifier and Type | Class and Description |
|---|---|
| private static class | SybaseTruncFunction.SybaseDateTruncEmulation
Deprecated
as a consequence of Custom DateTruncEmulation being deprecated.
DateTruncEmulation that uses convert instead of format for Sybase
|
| Modifier and Type | Field and Description |
|---|---|
| private final SybaseTruncFunction. | dateTruncEmulation
Hides org.
Deprecated
as a consequence of
SybaseTruncFunction.SybaseDateTruncEmulation 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 SybaseTruncFunction. Hides org. Deprecated as a consequence of | |
| SybaseTruncFunction | back to summary |
|---|---|
| public SybaseTruncFunction(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 uses convert instead of format for Sybase
| 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. |
| public void | render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker)
Overrides org. Implements org. |
| SybaseDateTruncEmulation | back to summary |
|---|---|
| public SybaseDateTruncEmulation(String toDateFunction, 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.
| |
| render | back to summary |
|---|---|
| public void render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker) Overrides org. Implements org.
| |