org.apache.nutch.segment
Class SegmentReader.TextOutputFormat
java.lang.Object
org.apache.hadoop.mapred.FileOutputFormat<WritableComparable,Writable>
org.apache.nutch.segment.SegmentReader.TextOutputFormat
- All Implemented Interfaces:
- OutputFormat<WritableComparable,Writable>
- Enclosing class:
- SegmentReader
public static class SegmentReader.TextOutputFormat
- extends FileOutputFormat<WritableComparable,Writable>
Implements a text output format
Methods inherited from class org.apache.hadoop.mapred.FileOutputFormat |
checkOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SegmentReader.TextOutputFormat
public SegmentReader.TextOutputFormat()
getRecordWriter
public RecordWriter<WritableComparable,Writable> getRecordWriter(FileSystem fs,
JobConf job,
String name,
Progressable progress)
throws IOException
- Specified by:
getRecordWriter
in interface OutputFormat<WritableComparable,Writable>
- Specified by:
getRecordWriter
in class FileOutputFormat<WritableComparable,Writable>
- Throws:
IOException
Copyright © 2012 The Apache Software Foundation