org.apache.nutch.indexer
Class Indexer.InputFormat

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

public static class Indexer.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
Indexer.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

Indexer.InputFormat

public Indexer.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