| Modifier and Type | Class and Description |
|---|---|
| public static enum | |
| protected static class | |
| protected static class | TruncFunction.TruncRenderingSupport
Deprecated
as a consequence of
FunctionRenderer being deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
| protected final TruncFunction. | datetimeRenderingSupport
Deprecated
as a consequence of
TruncFunction.TruncRenderingSupport being deprecated.
|
| private final TruncFunction. | |
| private final DateTruncEmulation | dateTruncEmulation
Deprecated
as a consequence of
DateTruncEmulation being deprecated.
|
| protected final TruncFunction. | numericRenderingSupport
Deprecated
as a consequence of
TruncFunction.TruncRenderingSupport being deprecated.
|
| Access | Constructor and Description |
|---|---|
| public | TruncFunction(String truncPattern, String twoArgTruncPattern, TruncFunction.
|
| 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)Implements abstract org. |
| datetimeRenderingSupport | back to summary |
|---|---|
| protected final TruncFunction. Deprecated as a consequence of | |
| datetimeTrunc | back to summary |
|---|---|
| private final TruncFunction. | |
| dateTruncEmulation | back to summary |
|---|---|
| private final DateTruncEmulation dateTruncEmulation
Deprecated as a consequence of | |
| numericRenderingSupport | back to summary |
|---|---|
| protected final TruncFunction. Deprecated as a consequence of | |
| TruncFunction | back to summary |
|---|---|
| public TruncFunction(String truncPattern, String twoArgTruncPattern, TruncFunction. | |
| generateSqmFunctionExpression | back to summary |
|---|---|
| protected <T> SelfRenderingSqmFunction Implements abstract 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.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final TruncFunction. | |
| public static final TruncFunction. | |
| public static final TruncFunction. | |
| private final String | |
| public static final TruncFunction. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public static TruncFunction. | |
| public static TruncFunction. |
| DATE_TRUNC | back to summary |
|---|---|
| public static final TruncFunction. | |
| DATETRUNC | back to summary |
|---|---|
| public static final TruncFunction. | |
| FORMAT | back to summary |
|---|---|
| public static final TruncFunction. | |
| pattern | back to summary |
|---|---|
| private final String pattern | |
| TRUNC | back to summary |
|---|---|
| public static final TruncFunction. | |
| DatetimeTrunc | back to summary |
|---|---|
| private DatetimeTrunc(String pattern) | |
| getPattern | back to summary |
|---|---|
| public String getPattern() | |
| valueOf | back to summary |
|---|---|
| public static TruncFunction. | |
| values | back to summary |
|---|---|
| public static TruncFunction. | |
| Modifier and Type | Field and Description |
|---|---|
| protected static final ArgumentTypesValidator | |
| protected static final ArgumentTypesValidator |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | validate(List<? extends SqmTypedNode<?>> arguments, String functionName, TypeConfiguration typeConfiguration)
Overrides default org. SqmTypedNode tree and assigned Java types.
|
| DATETIME_VALIDATOR | back to summary |
|---|---|
| protected static final ArgumentTypesValidator DATETIME_VALIDATOR | |
| NUMERIC_VALIDATOR | back to summary |
|---|---|
| protected static final ArgumentTypesValidator NUMERIC_VALIDATOR | |
| TruncArgumentsValidator | back to summary |
|---|---|
| protected TruncArgumentsValidator() | |
| validate | back to summary |
|---|---|
| public void validate(List<? extends SqmTypedNode<?>> arguments, String functionName, TypeConfiguration typeConfiguration) Overrides default org. Doc from org. Perform validation that may be done using the
| |
Deprecated
as a consequence of FunctionRenderer being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private final PatternRenderer | |
| private final PatternRenderer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker)
Implements org. |
| truncPattern | back to summary |
|---|---|
| private final PatternRenderer truncPattern | |
| twoArgTruncPattern | back to summary |
|---|---|
| private final PatternRenderer twoArgTruncPattern | |
| TruncRenderingSupport | back to summary |
|---|---|
| public TruncRenderingSupport(PatternRenderer truncPattern, PatternRenderer twoArgTruncPattern) | |
| render | back to summary |
|---|---|
| public void render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker) Implements org.
| |