org.apache.accumulo.examples.simple.mapreduce
Class TableToFile.TTFMapper
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<Key,Value,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text>
org.apache.accumulo.examples.simple.mapreduce.TableToFile.TTFMapper
- Enclosing class:
- TableToFile
public static class TableToFile.TTFMapper
- extends org.apache.hadoop.mapreduce.Mapper<Key,Value,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text>
The Mapper class that given a row number, will generate the appropriate output line.
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper |
org.apache.hadoop.mapreduce.Mapper.Context |
Method Summary |
void |
map(Key row,
Value data,
org.apache.hadoop.mapreduce.Mapper.Context context)
|
Methods inherited from class org.apache.hadoop.mapreduce.Mapper |
cleanup, run, setup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableToFile.TTFMapper
public TableToFile.TTFMapper()
map
public void map(Key row,
Value data,
org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
- Overrides:
map
in class org.apache.hadoop.mapreduce.Mapper<Key,Value,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text>
- Throws:
IOException
InterruptedException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.