protected Object execute(Object[] data) {
        S state = stateHolder.getState();
        try {
            return execute(data, state);
        } finally {
            stateHolder.returnState(state);
        }
    }
The main execution method which will be called upon event arrival
when there are more then one function parameter

@param data the runtime values of function parameters
@return the function result
modules/siddhi-core/src/main/java/io/siddhi/core/executor/function/FunctionExecutor.java