org.apache.accumulo.examples.dirlist
Class FileCountMR.FileCountMapper

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Mapper<Key,Value,Key,Value>
      extended by org.apache.accumulo.examples.dirlist.FileCountMR.FileCountMapper
Enclosing class:
FileCountMR

public static class FileCountMR.FileCountMapper
extends org.apache.hadoop.mapreduce.Mapper<Key,Value,Key,Value>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
org.apache.hadoop.mapreduce.Mapper.Context
 
Constructor Summary
FileCountMR.FileCountMapper()
           
 
Method Summary
protected  void cleanup(org.apache.hadoop.mapreduce.Mapper.Context context)
           
protected  void map(Key key, Value value, org.apache.hadoop.mapreduce.Mapper.Context context)
           
 
Methods inherited from class org.apache.hadoop.mapreduce.Mapper
run, setup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileCountMR.FileCountMapper

public FileCountMR.FileCountMapper()
Method Detail

map

protected void map(Key key,
                   Value value,
                   org.apache.hadoop.mapreduce.Mapper.Context context)
            throws java.io.IOException,
                   java.lang.InterruptedException
Overrides:
map in class org.apache.hadoop.mapreduce.Mapper<Key,Value,Key,Value>
Throws:
java.io.IOException
java.lang.InterruptedException

cleanup

protected void cleanup(org.apache.hadoop.mapreduce.Mapper.Context context)
                throws java.io.IOException,
                       java.lang.InterruptedException
Overrides:
cleanup in class org.apache.hadoop.mapreduce.Mapper<Key,Value,Key,Value>
Throws:
java.io.IOException
java.lang.InterruptedException


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.