CustomFunction¶
CustomFunction reads user-defined functions from storage. Override its methods to expose functions; their defaults return unsupported errors.
For example, a storage can provide a fixed set of functions through CustomFunction. Use CustomFunctionMut to support creating and deleting functions.
It provides two methods:
-
fetch_function: This method retrieves a custom function from the storage system using the provided function name. -
fetch_all_functions: This method retrieves all custom functions stored in the storage system.