Interface FunctionArgumentTypeResolver
-
public interface FunctionArgumentTypeResolver
Pluggable strategy for resolving a function argument type for a specific call.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MappingModelExpressible<?>
resolveFunctionArgumentType(SqmFunction<?> function, int argumentIndex, SqmToSqlAstConverter converter)
Resolve the argument type for a function given its context-implied return type.
-
-
-
Method Detail
-
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.
-
-