public static class Generator.SelectorMapper extends Mapper<Text,CrawlDatum,FloatWritable,Generator.SelectorEntry>
Mapper.Context| Constructor and Description |
|---|
SelectorMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
map(Text key,
CrawlDatum value,
Mapper.Context context) |
void |
setup(Mapper.Context context) |
public void setup(Mapper.Context context) throws java.io.IOException
setup in class Mapper<Text,CrawlDatum,FloatWritable,Generator.SelectorEntry>java.io.IOExceptionpublic void map(Text key, CrawlDatum value, Mapper.Context context) throws java.io.IOException, java.lang.InterruptedException
map in class Mapper<Text,CrawlDatum,FloatWritable,Generator.SelectorEntry>java.io.IOExceptionjava.lang.InterruptedExceptionCopyright © 2019 The Apache Software Foundation