public class RegexMapper
extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text>
| Modifier and Type | Field and Description |
|---|---|
static String |
ANALYZER_NAME |
static String |
FORMATTER_CLASS |
static String |
GROUP_MATCHERS |
static String |
REGEX |
static String |
TRANSFORMER_CLASS |
| Constructor and Description |
|---|
RegexMapper() |
public static final String REGEX
public static final String GROUP_MATCHERS
public static final String TRANSFORMER_CLASS
public static final String FORMATTER_CLASS
public static final String ANALYZER_NAME
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
setup in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text>IOExceptionInterruptedExceptionprotected void map(org.apache.hadoop.io.LongWritable key,
org.apache.hadoop.io.Text text,
org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
map in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text>IOExceptionInterruptedExceptionCopyright © 2008–2013 The Apache Software Foundation. All rights reserved.