Interface FunctionResolutionStrategy


public interface FunctionResolutionStrategy
Strategy indicating the type of resolution to apply for resolving the actual function definition in a pluggable way.
  • Field Details

  • Method Details

    • buildResolved

      default Function buildResolved(UnresolvedFunction uf, Configuration cfg, FunctionDefinition def)
      Build the real function from this one and resolution metadata.
    • kind

      default String kind()
      The kind of strategy being applied. Used when building the error message sent back to the user when they specify a function that doesn't exist.
    • isValidAlternative

      default boolean isValidAlternative(FunctionDefinition def)
      Is def a valid alternative for function invocations of this kind. Used to filter the list of "did you mean" options sent back to the user when they specify a missing function.