public GenericUDTF getGenericUDTF() {
    // GenericUDTF is stateful too, copy
    if (genericUDTF == null) {
      return null;
    }
    return FunctionRegistry.cloneGenericUDTF(genericUDTF);
  }
Get a new GenericUDTF object for the function.
ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionInfo.java