Deprecated
as a consequence of TimestampaddFunction being deprecated. See corresponding docs for further information.
TimestampaddFunction for databases which don't
support fractional seconds in the timestampadd() function.
| Modifier and Type | Field and Description |
|---|---|
| private final CastFunction | castFunction
Deprecated
as a consequence of
CastFunction being deprecated.
|
| private final Dialect | |
| private final BasicType |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private TemporalUnit | |
| private Expression | |
| private List | |
| public void | render(SqlAppender sqlAppender, List<? extends SqlAstNode> arguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker)
Overrides org. Implements org. |
| private void | renderWithUnitConversion(SqlAppender sqlAppender, Expression magnitude, Expression to, SqlAstTranslator<?> walker, DurationUnit field, TemporalUnit unit)
|
| castFunction | back to summary |
|---|---|
| private final CastFunction castFunction
Deprecated as a consequence of | |
| dialect | back to summary |
|---|---|
| private final Dialect dialect Hides org. | |
| integerType | back to summary |
|---|---|
| private final BasicType<Integer> integerType | |
| IntegralTimestampaddFunction | back to summary |
|---|---|
| public IntegralTimestampaddFunction(Dialect dialect, TypeConfiguration typeConfiguration) | |
| bestTemporalUnit | back to summary |
|---|---|
| private TemporalUnit bestTemporalUnit(Expression magnitude, DurationUnit field) | |
| convertedArgument | back to summary |
|---|---|
| private Expression convertedArgument(DurationUnit field, TemporalUnit unit, Expression magnitude) | |
| convertedArguments | back to summary |
|---|---|
| private List | |
| render | back to summary |
|---|---|
| public void render(SqlAppender sqlAppender, List<? extends SqlAstNode> arguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker) Overrides org. Implements org.
| |
| renderWithUnitConversion | back to summary |
|---|---|
| private void renderWithUnitConversion(SqlAppender sqlAppender, Expression magnitude, Expression to, SqlAstTranslator<?> walker, DurationUnit field, TemporalUnit unit) | |