org.apache.nutch.fetcher
Class OldFetcher.InputFormat

java.lang.Object
  extended by org.apache.hadoop.mapred.FileInputFormat<K,V>
      extended by org.apache.hadoop.mapred.SequenceFileInputFormat<WritableComparable,Writable>
          extended by org.apache.nutch.fetcher.OldFetcher.InputFormat
All Implemented Interfaces:
InputFormat<WritableComparable,Writable>
Enclosing class:
OldFetcher

public static class OldFetcher.InputFormat
extends SequenceFileInputFormat<WritableComparable,Writable>


Field Summary
 
Fields inherited from class org.apache.hadoop.mapred.FileInputFormat
LOG
 
Constructor Summary
OldFetcher.InputFormat()
           
 
Method Summary
 InputSplit[] getSplits(JobConf job, int nSplits)
          Don't split inputs, to keep things polite.
 
Methods inherited from class org.apache.hadoop.mapred.SequenceFileInputFormat
getRecordReader, listStatus
 
Methods inherited from class org.apache.hadoop.mapred.FileInputFormat
addInputPath, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, isSplitable, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OldFetcher.InputFormat

public OldFetcher.InputFormat()
Method Detail

getSplits

public InputSplit[] getSplits(JobConf job,
                              int nSplits)
                       throws IOException
Don't split inputs, to keep things polite.

Specified by:
getSplits in interface InputFormat<WritableComparable,Writable>
Overrides:
getSplits in class FileInputFormat<WritableComparable,Writable>
Throws:
IOException


Copyright © 2011 The Apache Software Foundation