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 IOException
setup in class Mapper<Text,CrawlDatum,FloatWritable,Generator.SelectorEntry>IOExceptionpublic void map(Text key, CrawlDatum value, Mapper.Context context) throws IOException, InterruptedException
map in class Mapper<Text,CrawlDatum,FloatWritable,Generator.SelectorEntry>IOExceptionInterruptedExceptionCopyright © 2021 The Apache Software Foundation