Package org.hibernate.dialect.function
Class GenerateSeriesArgumentTypeResolver
java.lang.Object
org.hibernate.query.sqm.produce.function.internal.AbstractFunctionArgumentTypeResolver
org.hibernate.dialect.function.GenerateSeriesArgumentTypeResolver
- All Implemented Interfaces:
FunctionArgumentTypeResolver
A
ArgumentsValidator
that validates the array type is compatible with the element type.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable MappingModelExpressible<?>
resolveFunctionArgumentType
(List<? extends SqmTypedNode<?>> arguments, int argumentIndex, SqmToSqlAstConverter converter) Resolve the argument type for a function given its context-implied return type.Methods inherited from class org.hibernate.query.sqm.produce.function.internal.AbstractFunctionArgumentTypeResolver
resolveFunctionArgumentType
-
Constructor Details
-
GenerateSeriesArgumentTypeResolver
-
-
Method Details
-
resolveFunctionArgumentType
public @Nullable MappingModelExpressible<?> resolveFunctionArgumentType(List<? extends SqmTypedNode<?>> arguments, int argumentIndex, SqmToSqlAstConverter converter) Description copied from interface:FunctionArgumentTypeResolver
Resolve the argument type for a function given its context-implied return type.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 would be defined by the type of `something`.
- Specified by:
resolveFunctionArgumentType
in interfaceFunctionArgumentTypeResolver
- Specified by:
resolveFunctionArgumentType
in classAbstractFunctionArgumentTypeResolver
- Returns:
- The resolved type.
-