Deprecated
as a consequence of AbstractSqmSelfRenderingFunctionDescriptor being deprecated. See corresponding docs for further information.
timestampadd() or dateadd() function has a funny
syntax which accepts a TemporalUnit as the first argument,
and the actual set of accepted units varies widely. This class uses
Dialect#timestampaddPattern(TemporalUnit, TemporalType, IntervalType)
to abstract these differences.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public SelfRenderingFunctionSqlAstExpression | |
| public String | |
| pack-priv PatternRenderer | |
| public void | render(SqlAppender sqlAppender, List<? extends SqlAstNode> arguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker)
Overrides org. Implements org. |
| dialect | back to summary |
|---|---|
| private final Dialect dialect | |
| TimestampaddFunction | back to summary |
|---|---|
| public TimestampaddFunction(Dialect dialect, TypeConfiguration typeConfiguration) | |
| expression | back to summary |
|---|---|
| public SelfRenderingFunctionSqlAstExpression expression(ReturnableType<?> impliedResultType, SqlAstNode... sqlAstArguments) | |
| getArgumentListSignature | back to summary |
|---|---|
| public String getArgumentListSignature() Overrides org.
| |
| patternRenderer | back to summary |
|---|---|
| pack-priv PatternRenderer patternRenderer(TemporalUnit unit, Expression interval, Expression to) | |
| render | back to summary |
|---|---|
| public void render(SqlAppender sqlAppender, List<? extends SqlAstNode> arguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker) Overrides org. Implements org.
| |