public static class CrawlDbReader.CrawlDbDumpMapper extends Mapper<Text,CrawlDatum,Text,CrawlDatum>
Mapper.Context
Constructor and Description |
---|
CrawlDbDumpMapper() |
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)
setup
in class Mapper<Text,CrawlDatum,Text,CrawlDatum>
public void map(Text key, CrawlDatum value, Mapper.Context context) throws IOException, InterruptedException
map
in class Mapper<Text,CrawlDatum,Text,CrawlDatum>
IOException
InterruptedException
Copyright © 2021 The Apache Software Foundation