Class FunctionInitializerImpl

java.lang.Object
io.higson.runtime.prefetch.FunctionInitializerImpl
All Implemented Interfaces:
Initializer

public class FunctionInitializerImpl extends Object implements Initializer
Author:
ereda
  • Constructor Details

    • FunctionInitializerImpl

      public FunctionInitializerImpl()
  • Method Details

    • initialize

      public void initialize(String functionCode)
      Calls the function using it code. If function requires arguments, mock them as null and create call with this arguments. If the function is not found in the registered repository, the exception is thrown.
      Specified by:
      initialize in interface Initializer
      Parameters:
      functionCode - it's a code of function which was added to the list of functions to prefetch