Interface FunctionArgumentTypeResolver
- All Known Implementing Classes:
ArrayAndElementArgumentTypeResolver
,ArrayContainsArgumentTypeResolver
,ArrayIncludesArgumentTypeResolver
public interface FunctionArgumentTypeResolver
Pluggable strategy for resolving a function argument type for a specific call.
-
Method Summary
Modifier and TypeMethodDescriptionresolveFunctionArgumentType
(SqmFunction<?> function, int argumentIndex, SqmToSqlAstConverter converter) Resolve the argument type for a function given its context-implied return type.
-
Method Details
-
resolveFunctionArgumentType
MappingModelExpressible<?> resolveFunctionArgumentType(SqmFunction<?> function, int argumentIndex, SqmToSqlAstConverter converter) 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`.
- Returns:
- The resolved type.
-