Deprecated
as a consequence of FunctionRenderer being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private final FunctionKind |
| Access | Constructor and Description |
|---|---|
| public | AbstractSqmSelfRenderingFunctionDescriptor(String name, ArgumentsValidator argumentsValidator, FunctionReturnTypeResolver returnTypeResolver, FunctionArgumentTypeResolver argumentTypeResolver)
|
| public | AbstractSqmSelfRenderingFunctionDescriptor(String name, FunctionKind functionKind, ArgumentsValidator argumentsValidator, FunctionReturnTypeResolver returnTypeResolver, FunctionArgumentTypeResolver argumentTypeResolver)
|
| Modifier and Type | Method and Description |
|---|---|
| public <T> SelfRenderingSqmAggregateFunction | generateSqmAggregateFunctionExpression(List<? extends SqmTypedNode<?>>
the arguments of the function invocation arguments, SqmPredicate filter, ReturnableType<T> the function return type as inferred from its usage impliedResultType, QueryEngine queryEngine)
Return an SQM node or subtree representing an invocation of this aggregate function
with the given arguments.
|
| 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 <T> SelfRenderingSqmOrderedSetAggregateFunction | generateSqmOrderedSetAggregateFunctionExpression(List<? extends SqmTypedNode<?>>
the arguments of the function invocation arguments, SqmPredicate filter, SqmOrderByClause withinGroupClause, ReturnableType<T> the function return type as inferred from its usage impliedResultType, QueryEngine queryEngine)
Return an SQM node or subtree representing an invocation of this ordered set-aggregate function
with the given arguments.
|
| protected <T> SelfRenderingSqmWindowFunction | generateSqmWindowFunctionExpression(List<? extends SqmTypedNode<?>>
the arguments of the function invocation arguments, SqmPredicate filter, Boolean respectNulls, Boolean fromFirst, ReturnableType<T> the function return type as inferred from its usage impliedResultType, QueryEngine queryEngine)Overrides org. |
| public FunctionKind | getFunctionKind()
Overrides default org. |
| public void | render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker)
Implements org. |
| functionKind | back to summary |
|---|---|
| private final FunctionKind functionKind | |
| AbstractSqmSelfRenderingFunctionDescriptor | back to summary |
|---|---|
| public AbstractSqmSelfRenderingFunctionDescriptor(String name, ArgumentsValidator argumentsValidator, FunctionReturnTypeResolver returnTypeResolver, FunctionArgumentTypeResolver argumentTypeResolver) | |
| AbstractSqmSelfRenderingFunctionDescriptor | back to summary |
|---|---|
| public AbstractSqmSelfRenderingFunctionDescriptor(String name, FunctionKind functionKind, ArgumentsValidator argumentsValidator, FunctionReturnTypeResolver returnTypeResolver, FunctionArgumentTypeResolver argumentTypeResolver) | |
| generateSqmAggregateFunctionExpression | back to summary |
|---|---|
| public <T> SelfRenderingSqmAggregateFunction Return an SQM node or subtree representing an invocation of this aggregate function with the given arguments. This method may be overridden in the case of function descriptors that wish to customize creation of the node.
| |
| 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.
| |
| generateSqmOrderedSetAggregateFunctionExpression | back to summary |
|---|---|
| public <T> SelfRenderingSqmOrderedSetAggregateFunction Return an SQM node or subtree representing an invocation of this ordered set-aggregate function with the given arguments. This method may be overridden in the case of function descriptors that wish to customize creation of the node.
| |
| generateSqmWindowFunctionExpression | back to summary |
|---|---|
| protected <T> SelfRenderingSqmWindowFunction Overrides org. Doc from org. Return an SQM node or subtree representing an invocation of this window function with the given arguments. This method may be overridden in the case of function descriptors that wish to customize creation of the node.
| |
| getFunctionKind | back to summary |
|---|---|
| public FunctionKind getFunctionKind() Overrides default org. Doc from org. What sort of function is this?
| |
| render | back to summary |
|---|---|
| public void render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker) Implements org.
| |