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