public void addOutputFormat(String alias,
        Class<? extends OutputFormat> outputFormatClass,
        Class<?> keyClass, Class<?> valueClass) throws IOException {
      Job copy = new Job(this.job.getConfiguration());
      outputConfigs.put(alias, copy);
      copy.setOutputFormatClass(outputFormatClass);
      copy.setOutputKeyClass(keyClass);
      copy.setOutputValueClass(valueClass);
    }
Add a OutputFormat configuration to the Job with a alias name.

@param alias the name to be given to the OutputFormat configuration
@param outputFormatClass OutputFormat class
@param keyClass the key class for the output data
@param valueClass the value class for the output data
@throws IOException
hcatalog/core/src/main/java/org/apache/hive/hcatalog/mapreduce/MultiOutputFormat.java