Interface FunctionArgumentTypeResolver

    • 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.