public static GenericUDAFInfo getGenericUDAFInfo(GenericUDAFEvaluator evaluator,
      GenericUDAFEvaluator.Mode emode, List<ExprNodeDesc> aggParameters)
      throws SemanticException {
    GenericUDAFInfo udafInfo = getGenericUDAFInfo2(
        evaluator, emode, getWritableObjectInspector(aggParameters));
    udafInfo.convertedParameters = aggParameters;
    return udafInfo;
  }
Returns the GenericUDAFInfo struct for the aggregation.

@param evaluator
@param emode
@param aggParameters
         The exprNodeDesc of the original parameters
@return GenericUDAFInfo
@throws SemanticException
          when the UDAF is not found or has problems.
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java