public class FetcherOutputFormat extends FileOutputFormat<Text,NutchWritable>
FileOutputFormat.Counter
BASE_OUTPUT_NAME, COMPRESS, COMPRESS_CODEC, COMPRESS_TYPE, OUTDIR, PART
Constructor and Description |
---|
FetcherOutputFormat() |
Modifier and Type | Method and Description |
---|---|
void |
checkOutputSpecs(JobContext job) |
RecordWriter<Text,NutchWritable> |
getRecordWriter(TaskAttemptContext context) |
getCompressOutput, getDefaultWorkFile, getOutputCommitter, getOutputCompressorClass, getOutputName, getOutputPath, getPathForWorkFile, getUniqueFile, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputName, setOutputPath
public void checkOutputSpecs(JobContext job) throws java.io.IOException
checkOutputSpecs
in class FileOutputFormat<Text,NutchWritable>
java.io.IOException
public RecordWriter<Text,NutchWritable> getRecordWriter(TaskAttemptContext context) throws java.io.IOException
getRecordWriter
in class FileOutputFormat<Text,NutchWritable>
java.io.IOException
Copyright © 2019 The Apache Software Foundation