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