private FunctionInfo registerUDF(String functionName, FunctionType functionType,
      Class<? extends UDF> UDFClass, boolean isOperator, String displayName,
      FunctionResource... resources) {
    validateClass(UDFClass, UDF.class);
    validateDescription(UDFClass);
    FunctionInfo fI = new FunctionInfo(functionType, displayName,
        new GenericUDFBridge(displayName, isOperator, UDFClass.getName()), resources);
    addFunction(functionName, fI);
    return fI;
  }
@deprecated From next release, replaced by {@link #registerUDF(String, Class, boolean, String)}
Deprecated because method unnecessarily accepts FunctionResource vararg param
ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java