org.apache.nutch.fetcher
Class OldFetcher.InputFormat
java.lang.Object
org.apache.hadoop.mapred.FileInputFormat<K,V>
org.apache.hadoop.mapred.SequenceFileInputFormat<WritableComparable,Writable>
org.apache.nutch.fetcher.OldFetcher.InputFormat
- All Implemented Interfaces:
- InputFormat<WritableComparable,Writable>
- Enclosing class:
- OldFetcher
public static class OldFetcher.InputFormat
- extends SequenceFileInputFormat<WritableComparable,Writable>
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 |
OldFetcher.InputFormat
public OldFetcher.InputFormat()
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