org.apache.nutch.crawl
Class InjectorJob.UrlMapper
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<LongWritable,Text,String,WebPage>
org.apache.nutch.crawl.InjectorJob.UrlMapper
- Enclosing class:
- InjectorJob
public static class InjectorJob.UrlMapper
- extends Mapper<LongWritable,Text,String,WebPage>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InjectorJob.UrlMapper
public InjectorJob.UrlMapper()
setup
protected void setup(Mapper.Context context)
throws IOException,
InterruptedException
- Overrides:
setup
in class Mapper<LongWritable,Text,String,WebPage>
- Throws:
IOException
InterruptedException
map
protected void map(LongWritable key,
Text value,
Mapper.Context context)
throws IOException,
InterruptedException
- Overrides:
map
in class Mapper<LongWritable,Text,String,WebPage>
- Throws:
IOException
InterruptedException
Copyright © 2012 The Apache Software Foundation