org.apache.nutch.segment
Class SegmentReader.InputFormat

java.lang.Object
  extended byorg.apache.hadoop.mapred.InputFormatBase
      extended byorg.apache.hadoop.mapred.SequenceFileInputFormat
          extended byorg.apache.nutch.segment.SegmentReader.InputFormat
All Implemented Interfaces:
InputFormat
Enclosing class:
SegmentReader

public static class SegmentReader.InputFormat
extends SequenceFileInputFormat

Wraps inputs in an ObjectWritable, to permit merging different types in reduce.


Field Summary
 
Fields inherited from class org.apache.hadoop.mapred.InputFormatBase
LOG
 
Constructor Summary
SegmentReader.InputFormat()
           
 
Method Summary
 RecordReader getRecordReader(FileSystem fs, FileSplit split, JobConf job, Reporter reporter)
           
 
Methods inherited from class org.apache.hadoop.mapred.SequenceFileInputFormat
listPaths
 
Methods inherited from class org.apache.hadoop.mapred.InputFormatBase
areValidInputDirectories, getSplits, listFiles, setMinSplitSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SegmentReader.InputFormat

public SegmentReader.InputFormat()
Method Detail

getRecordReader

public RecordReader getRecordReader(FileSystem fs,
                                    FileSplit split,
                                    JobConf job,
                                    Reporter reporter)
                             throws IOException
Throws:
IOException


Copyright © 2006 The Apache Software Foundation