code: public static void setOutputCompressionType(Job job, 
  		                                          CompressionType style) {
      setCompressOutput(job, true);
      job.getConfiguration().set("mapred.output.compression.type", 
                                 style.toString());
    }
docs: Set the {@link CompressionType} for the output {@link SequenceFile}.
  @param job the {@link Job} to modify
  @param style the {@link CompressionType} for the output
  {@link SequenceFile}