Deprecated
as a consequence of AbstractSqmSelfRenderingFunctionDescriptor being deprecated. See corresponding docs for further information.
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final CastFunction | castFunction
Deprecated
as a consequence of
CastFunction being deprecated.
|
| private final SqlAstNodeRenderingMode | |
| private final BasicType |
| Access | Constructor and Description |
|---|---|
| public | AvgFunction(Dialect dialect, TypeConfiguration typeConfiguration, SqlAstNodeRenderingMode defaultArgumentRenderingMode)
|
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public void | render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker)
Overrides org. Implements org. |
| public void | render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> returnType, SqlAstTranslator<?> translator)
Overrides default org. |
| private void |
| castFunction | back to summary |
|---|---|
| private final CastFunction castFunction
Deprecated as a consequence of | |
| defaultArgumentRenderingMode | back to summary |
|---|---|
| private final SqlAstNodeRenderingMode defaultArgumentRenderingMode | |
| doubleType | back to summary |
|---|---|
| private final BasicType<Double> doubleType | |
| AvgFunction | back to summary |
|---|---|
| public AvgFunction(Dialect dialect, TypeConfiguration typeConfiguration, SqlAstNodeRenderingMode defaultArgumentRenderingMode) | |
| 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) Overrides org. Implements org.
| |
| render | back to summary |
|---|---|
| public void render(SqlAppender sqlAppender, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> returnType, SqlAstTranslator<?> translator) Overrides default org.
| |
| renderArgument | back to summary |
|---|---|
| private void renderArgument(SqlAppender sqlAppender, SqlAstTranslator<?> translator, Expression realArg) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public BasicValuedMapping | resolveFunctionReturnType(Supplier<BasicValuedMapping> impliedTypeAccess, List<? extends SqlAstNode> arguments)
Implements org. |
| public ReturnableType | resolveFunctionReturnType(ReturnableType<?> impliedType, Supplier<MappingModelExpressible<?>> inferredTypeSupplier, List<? extends SqmTypedNode<?>> arguments, TypeConfiguration typeConfiguration)
Overrides default org. |
| doubleType | back to summary |
|---|---|
| private final BasicType<Double> doubleType | |
| ReturnTypeResolver | back to summary |
|---|---|
| public ReturnTypeResolver(TypeConfiguration typeConfiguration) | |
| resolveFunctionReturnType | back to summary |
|---|---|
| public BasicValuedMapping resolveFunctionReturnType(Supplier<BasicValuedMapping> impliedTypeAccess, List<? extends SqlAstNode> arguments) Implements org. Doc from org. Resolve the return type for a function given its context-implied type and the arguments to this call. The context-implied type is the type implied by where the function occurs in the query. E.g., for an equality predicate (`something = some_function`) the implied type of the return from `some_function` would be defined by the type of `some_function`.
| |
| resolveFunctionReturnType | back to summary |
|---|---|
| public ReturnableType Overrides default org. Doc from org. Resolve the return type for a function given its context-implied type and the arguments to this call. The context-implied type is the type implied by where the function occurs in the query. E.g., for an equality predicate (`something = some_function`) the implied type of the return from `some_function` would be defined by the type of `some_function`.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final ArgumentsValidator |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static JdbcType | |
| public String | getSignature()
Overrides default org. |
| private static boolean | |
| public void | validate(List<? extends SqmTypedNode<?>> arguments, String functionName, TypeConfiguration typeConfiguration)
Overrides default org. SqmTypedNode tree and assigned Java types.
|
| INSTANCE | back to summary |
|---|---|
| public static final ArgumentsValidator INSTANCE | |
| Validator | back to summary |
|---|---|
| public Validator() | |
| getJdbcType | back to summary |
|---|---|
| private static JdbcType getJdbcType(DomainType<?> domainType, TypeConfiguration typeConfiguration) | |
| getSignature | back to summary |
|---|---|
| public String getSignature() Overrides default org. Doc from org. Pretty-print the signature of the argument list.
| |
| isNumeric | back to summary |
|---|---|
| private static boolean isNumeric(JdbcType jdbcType) | |
| 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
| |