Module dev.metaschema.core
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.
Resolves Metapath function signatures based on name and arity.
-
Method Summary
Modifier and TypeMethodDescriptiongetFunction(IEnhancedQName name, int arity) Retrieve the function with the provided name that supports the signature of the provided methods.
-
Method Details
-
getFunction
Retrieve the function with the provided name that supports the signature of the provided methods.- Parameters:
name- the name of a group of functionsarity- the count of arguments for use in determining an argument signature match- Returns:
- the matching function
- Throws:
StaticMetapathException- with the codeStaticMetapathException.NO_FUNCTION_MATCHif a matching function was not found
-