@Override
  public TypeInfo getTypeInfo() {
    return typeInfo;
  }
Provide varchar type parameters for the output object inspector.
This should be done before the UDF is initialized.
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFToVarchar.java