public class MultiOutputFormat extends OutputFormat
Constructor and Description |
---|
MultiOutputFormat() |
Modifier and Type | Method and Description |
---|---|
static void |
addOutputFormat(Configuration cfg,
Class<? extends OutputFormat>... formats) |
void |
checkOutputSpecs(JobContext context) |
OutputCommitter |
getOutputCommitter(TaskAttemptContext context) |
RecordWriter |
getRecordWriter(TaskAttemptContext context) |
public static final String CFG_FIELD
public RecordWriter getRecordWriter(TaskAttemptContext context) throws IOException, InterruptedException
getRecordWriter
in class OutputFormat
IOException
InterruptedException
public void checkOutputSpecs(JobContext context) throws IOException, InterruptedException
checkOutputSpecs
in class OutputFormat
IOException
InterruptedException
public OutputCommitter getOutputCommitter(TaskAttemptContext context) throws IOException, InterruptedException
getOutputCommitter
in class OutputFormat
IOException
InterruptedException
public static void addOutputFormat(Configuration cfg, Class<? extends OutputFormat>... formats)