class BigQueryOutputConfiguration {

  public static BigQueryFileFormat getFileFormat(Configuration conf) throws IOException {
    // Ensure the BigQuery output information is valid.
    String fileFormatName = getMandatoryConfig(conf, OUTPUT_FILE_FORMAT);

    return BigQueryFileFormat.fromName(fileFormatName);
  }

}