- java.lang.Object
-
- com.pervasive.datarush.functions.ListFunctionInvoker
-
- All Implemented Interfaces:
FunctionInvoker
public class ListFunctionInvoker extends Object implements FunctionInvoker
A function invoker which passes all of its arguments as a single list to the method.
-
-
Constructor Summary
Constructors Constructor Description ListFunctionInvoker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
invoke(Method m, ScalarValuedFunction[] args)
Invokes a method to return a ScalarValuedFunction, using the given arguments.
-
-
-
Method Detail
-
invoke
public Object invoke(Method m, ScalarValuedFunction[] args) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
Description copied from interface:FunctionInvoker
Invokes a method to return a ScalarValuedFunction, using the given arguments.- Specified by:
invoke
in interfaceFunctionInvoker
- Parameters:
m
- The method to invoke.args
- The ScalarValuedFunction arguments from the call to the FunctionRegistry.- Returns:
- The ScalarValuedFunction or Aggregation returned by invoking the method.
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
-
-