public class GeneratorMapper extends org.apache.gora.mapreduce.GoraMapper<String,WebPage,GeneratorJob.SelectorEntry,WebPage>
Constructor and Description |
---|
GeneratorMapper() |
Modifier and Type | Method and Description |
---|---|
void |
map(String reversedUrl,
WebPage page,
org.apache.hadoop.mapreduce.Mapper.Context context) |
void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
public void map(String reversedUrl, WebPage page, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map
in class org.apache.hadoop.mapreduce.Mapper<String,WebPage,GeneratorJob.SelectorEntry,WebPage>
IOException
InterruptedException
public void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
setup
in class org.apache.hadoop.mapreduce.Mapper<String,WebPage,GeneratorJob.SelectorEntry,WebPage>
Copyright © 2015 The Apache Software Foundation