Package org.apache.nutch.segment
Class SegmentMerger.SegmentOutputFormat
- java.lang.Object
-
- org.apache.hadoop.mapreduce.OutputFormat<K,V>
-
- org.apache.hadoop.mapreduce.lib.output.FileOutputFormat<Text,MetaWrapper>
-
- org.apache.nutch.segment.SegmentMerger.SegmentOutputFormat
-
- Enclosing class:
- SegmentMerger
public static class SegmentMerger.SegmentOutputFormat extends FileOutputFormat<Text,MetaWrapper>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.lib.output.FileOutputFormat
FileOutputFormat.Counter
-
-
Field Summary
-
Fields inherited from class org.apache.hadoop.mapreduce.lib.output.FileOutputFormat
BASE_OUTPUT_NAME, COMPRESS, COMPRESS_CODEC, COMPRESS_TYPE, OUTDIR, PART
-
-
Constructor Summary
Constructors Constructor Description SegmentOutputFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecordWriter<Text,MetaWrapper>
getRecordWriter(TaskAttemptContext context)
-
Methods inherited from class org.apache.hadoop.mapreduce.lib.output.FileOutputFormat
checkOutputSpecs, getCompressOutput, getDefaultWorkFile, getOutputCommitter, getOutputCompressorClass, getOutputName, getOutputPath, getPathForWorkFile, getUniqueFile, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputName, setOutputPath
-
-
-
-
Method Detail
-
getRecordWriter
public RecordWriter<Text,MetaWrapper> getRecordWriter(TaskAttemptContext context) throws IOException
- Specified by:
getRecordWriter
in classFileOutputFormat<Text,MetaWrapper>
- Throws:
IOException
-
-