@InterfaceAudience.Public @InterfaceStability.Stable public class RegexMapper<K> extends Mapper<K,Text,Text,LongWritable>
Mapper that extracts text matching a regular expression.| コンストラクタと説明 | 
|---|
| RegexMapper() | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| void | map(K key,
   Text value,
   org.apache.hadoop.mapreduce.Mapper.Context context)Called once for each key/value pair in the input split. | 
| void | setup(org.apache.hadoop.mapreduce.Mapper.Context context)Called once at the beginning of the task. | 
public RegexMapper()
public void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
Mapperpublic void map(K key, Text value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
Mappermap クラス内 Mapper<K,Text,Text,LongWritable>IOExceptionInterruptedExceptionCopyright © 2016 Apache Software Foundation. All rights reserved.