org.apache.nutch.segment
Class SegmentMerger.ObjectInputFormat

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

public static class SegmentMerger.ObjectInputFormat
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
SegmentMerger.ObjectInputFormat()
           
 
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

SegmentMerger.ObjectInputFormat

public SegmentMerger.ObjectInputFormat()
Method Detail

getRecordReader

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


Copyright © 2006 The Apache Software Foundation