Interface FunctionArgumentTypeResolver


  • public interface FunctionArgumentTypeResolver
    Pluggable strategy for resolving a function argument type for a specific call.
    • Method Detail

      • resolveFunctionArgumentType

        MappingModelExpressible<?> resolveFunctionArgumentType​(SqmFunction<?> function,
                                                               int argumentIndex,
                                                               SqmToSqlAstConverter converter)
        Resolve the argument type for a function given its context-implied return type.

        NOTE : the _context-implied_ type is the type implied by where the function's 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.