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