Interface IFunctionResolver

All Known Implementing Classes:
FunctionService
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IFunctionResolver
Resolves Metapath function signatures based on name and arity.
  • Method Summary

    Modifier and Type
    Method
    Description
    getFunction(IEnhancedQName name, int arity)
    Retrieve the function with the provided name that supports the signature of the provided methods.
  • Method Details

    • getFunction

      @NonNull IFunction getFunction(@NonNull IEnhancedQName name, int arity)
      Retrieve the function with the provided name that supports the signature of the provided methods.
      Parameters:
      name - the name of a group of functions
      arity - the count of arguments for use in determining an argument signature match
      Returns:
      the matching function
      Throws:
      StaticMetapathException - with the code StaticMetapathException.NO_FUNCTION_MATCH if a matching function was not found