edu.umd.cloud9.mapred
Class NullMapper

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by edu.umd.cloud9.mapred.NullMapper
All Implemented Interfaces:
Closeable, JobConfigurable, Mapper<NullWritable,NullWritable,NullWritable,NullWritable>

public abstract class NullMapper
extends MapReduceBase
implements Mapper<NullWritable,NullWritable,NullWritable,NullWritable>


Constructor Summary
NullMapper()
           
 
Method Summary
 void configure(JobConf conf)
           
 void map(NullWritable key, NullWritable value, OutputCollector<NullWritable,NullWritable> output, Reporter reporter)
           
abstract  void run(JobConf conf, Reporter reporter)
           
 
Methods inherited from class org.apache.hadoop.mapred.MapReduceBase
close
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.io.Closeable
close
 

Constructor Detail

NullMapper

public NullMapper()
Method Detail

configure

public void configure(JobConf conf)
Specified by:
configure in interface JobConfigurable
Overrides:
configure in class MapReduceBase

map

public void map(NullWritable key,
                NullWritable value,
                OutputCollector<NullWritable,NullWritable> output,
                Reporter reporter)
         throws IOException
Specified by:
map in interface Mapper<NullWritable,NullWritable,NullWritable,NullWritable>
Throws:
IOException

run

public abstract void run(JobConf conf,
                         Reporter reporter)
                  throws IOException
Throws:
IOException