org.apache.accumulo.examples.simple.filedata
Class CharacterHistogram.HistMapper
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<List<Map.Entry<Key,Value>>,InputStream,org.apache.hadoop.io.Text,Mutation>
org.apache.accumulo.examples.simple.filedata.CharacterHistogram.HistMapper
- Enclosing class:
- CharacterHistogram
public static class CharacterHistogram.HistMapper
- extends org.apache.hadoop.mapreduce.Mapper<List<Map.Entry<Key,Value>>,InputStream,org.apache.hadoop.io.Text,Mutation>
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper |
org.apache.hadoop.mapreduce.Mapper.Context |
Methods inherited from class org.apache.hadoop.mapreduce.Mapper |
cleanup, run |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CharacterHistogram.HistMapper
public CharacterHistogram.HistMapper()
map
public void map(List<Map.Entry<Key,Value>> k,
InputStream v,
org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
- Overrides:
map
in class org.apache.hadoop.mapreduce.Mapper<List<Map.Entry<Key,Value>>,InputStream,org.apache.hadoop.io.Text,Mutation>
- Throws:
IOException
InterruptedException
setup
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
- Overrides:
setup
in class org.apache.hadoop.mapreduce.Mapper<List<Map.Entry<Key,Value>>,InputStream,org.apache.hadoop.io.Text,Mutation>
- Throws:
IOException
InterruptedException
Copyright © 2013 Apache Accumulo Project. All Rights Reserved.