Deprecated
as a consequence of FunctionRenderer being deprecated. See corresponding docs for further information.
extract() function, where the date/time fields
are enumerated by TemporalUnit, and portability is achieved
by delegating to Dialect#extractPattern(TemporalUnit).
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private SelfRenderingSqmFunction | extractDateOrTimeUsingCast(SqmExpression<?> expressionToExtract, ReturnableType<?> type, QueryEngine queryEngine)
|
| private SelfRenderingSqmFunction | |
| private SelfRenderingSqmFunction | |
| private SelfRenderingSqmFunction | extractWeek(SqmExpression<?> expressionToExtract, SqmExtractUnit<?> field, TemporalUnit dayOf, QueryEngine queryEngine)
|
| 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. |
| public String | |
| public void | render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker)
Implements org. |
| private SelfRenderingSqmFunction |
| dialect | back to summary |
|---|---|
| private final Dialect dialect | |
| ExtractFunction | back to summary |
|---|---|
| public ExtractFunction(Dialect dialect, TypeConfiguration typeConfiguration) | |
| extractDateOrTimeUsingCast | back to summary |
|---|---|
| private SelfRenderingSqmFunction | |
| extractNanoseconds | back to summary |
|---|---|
| private SelfRenderingSqmFunction | |
| extractOffsetUsingFormat | back to summary |
|---|---|
| private SelfRenderingSqmFunction | |
| extractWeek | back to summary |
|---|---|
| private SelfRenderingSqmFunction | |
| 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.
| |
| getArgumentListSignature | back to summary |
|---|---|
| public String getArgumentListSignature() Overrides org.
| |
| render | back to summary |
|---|---|
| public void render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker) Implements org.
| |
| toLong | back to summary |
|---|---|
| private SelfRenderingSqmFunction | |