Class DefaultFunctionInvoker

java.lang.Object
com.pervasive.datarush.functions.DefaultFunctionInvoker
All Implemented Interfaces:
FunctionInvoker

public class DefaultFunctionInvoker extends Object implements FunctionInvoker
A default function invoker, which passes arguments directly to the method using an ArgumentConverter.

Arguments may specify a converter using the FunctionArgument annotation. If no argument converter is specified for an argument, DefaultArgumentConverter is used.

If the number of arguments does not match the method's expected number of arguments, an IllegalArgumentException is thrown.