docs: public void initFunctionData(int parametersCount) {
      params = new CallParameter[parametersCount];
      for (int i = 0; i < parametersCount; i++) {
        params[i] = new CallParameter();
        if (i > 0) {
          params[i].setInput(true);
        }
      }
      // the query was in the form {?=call function()}, so the first parameter is always output
      params[0].setOutput(true);
    }