public static class Injector.InjectMapper extends Object implements Mapper<WritableComparable<?>,Text,Text,CrawlDatum>
Constructor and Description |
---|
Injector.InjectMapper() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configure(JobConf job) |
void |
map(WritableComparable<?> key,
Text value,
OutputCollector<Text,CrawlDatum> output,
Reporter reporter) |
public void configure(JobConf job)
configure
in interface JobConfigurable
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public void map(WritableComparable<?> key, Text value, OutputCollector<Text,CrawlDatum> output, Reporter reporter) throws IOException
map
in interface Mapper<WritableComparable<?>,Text,Text,CrawlDatum>
IOException
Copyright © 2015 The Apache Software Foundation