org.apache.nutch.segment
Class SegmentReader.TextOutputFormat

java.lang.Object
  extended by org.apache.hadoop.mapred.FileOutputFormat<WritableComparable,Writable>
      extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapred.FileOutputFormat
FileOutputFormat.Counter
 
Constructor Summary
SegmentReader.TextOutputFormat()
           
 
Method Summary
 RecordWriter<WritableComparable,Writable> getRecordWriter(FileSystem fs, JobConf job, String name, Progressable progress)
           
 
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
 

Constructor Detail

SegmentReader.TextOutputFormat

public SegmentReader.TextOutputFormat()
Method Detail

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