public static class HostInjectorJob.UrlMapper extends Mapper<LongWritable,Text,java.lang.String,Host>
Mapper.Context
Constructor and Description |
---|
UrlMapper() |
Modifier and Type | Method and Description |
---|---|
protected void |
map(LongWritable key,
Text value,
Mapper.Context context) |
protected void |
setup(Mapper.Context context) |
protected void setup(Mapper.Context context) throws java.io.IOException, java.lang.InterruptedException
setup
in class Mapper<LongWritable,Text,java.lang.String,Host>
java.io.IOException
java.lang.InterruptedException
protected void map(LongWritable key, Text value, Mapper.Context context) throws java.io.IOException, java.lang.InterruptedException
map
in class Mapper<LongWritable,Text,java.lang.String,Host>
java.io.IOException
java.lang.InterruptedException
Copyright © 2019 The Apache Software Foundation