public static class Logalyzer.LogRegexMapper<K extends WritableComparable> extends MapReduceBase implements Mapper<K,Text,Text,LongWritable>
Mapper that extracts text matching a regular expression.| Constructor and Description |
|---|
LogRegexMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(JobConf job) |
void |
map(K key,
Text value,
OutputCollector<Text,LongWritable> output,
Reporter reporter) |
closepublic void configure(JobConf job)
configure in interface JobConfigurableconfigure in class MapReduceBasepublic void map(K key, Text value, OutputCollector<Text,LongWritable> output, Reporter reporter) throws IOException
map in interface Mapper<K extends WritableComparable,Text,Text,LongWritable>IOExceptionCopyright © 2018 CERN. All Rights Reserved.