org.apache.nutch.host
Class HostDbUpdateJob.Mapper
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<K1,V1,K2,V2>
org.apache.gora.mapreduce.GoraMapper<String,WebPage,org.apache.hadoop.io.Text,WebPage>
org.apache.nutch.host.HostDbUpdateJob.Mapper
- Enclosing class:
- HostDbUpdateJob
public static class HostDbUpdateJob.Mapper
- extends org.apache.gora.mapreduce.GoraMapper<String,WebPage,org.apache.hadoop.io.Text,WebPage>
Maps each WebPage to a host key.
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper |
org.apache.hadoop.mapreduce.Mapper.Context |
Method Summary |
protected void |
map(String key,
WebPage value,
org.apache.hadoop.mapreduce.Mapper.Context context)
|
Methods inherited from class org.apache.gora.mapreduce.GoraMapper |
initMapperJob, initMapperJob, initMapperJob, initMapperJob, initMapperJob |
Methods inherited from class org.apache.hadoop.mapreduce.Mapper |
cleanup, run, setup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HostDbUpdateJob.Mapper
public HostDbUpdateJob.Mapper()
map
protected void map(String key,
WebPage value,
org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
- Overrides:
map
in class org.apache.hadoop.mapreduce.Mapper<String,WebPage,org.apache.hadoop.io.Text,WebPage>
- Throws:
IOException
InterruptedException
Copyright © 2013 The Apache Software Foundation