edu.yale.cs.hadoopdb.benchmark
Class GrepTaskDB.Map

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by edu.yale.cs.hadoopdb.benchmark.GrepTaskDB.Map
All Implemented Interfaces:
java.io.Closeable, org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.LongWritable,GrepTaskDB.DocumentsRecord,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
Enclosing class:
GrepTaskDB

public static class GrepTaskDB.Map
extends org.apache.hadoop.mapred.MapReduceBase
implements org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.LongWritable,GrepTaskDB.DocumentsRecord,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>


Field Summary
private  org.apache.hadoop.io.Text outputKey
           
private  org.apache.hadoop.io.Text outputValue
           
 
Constructor Summary
GrepTaskDB.Map()
           
 
Method Summary
 void map(org.apache.hadoop.io.LongWritable dummy, GrepTaskDB.DocumentsRecord record, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text> output, org.apache.hadoop.mapred.Reporter reporter)
           
 
Methods inherited from class org.apache.hadoop.mapred.MapReduceBase
close, configure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.mapred.JobConfigurable
configure
 
Methods inherited from interface java.io.Closeable
close
 

Field Detail

outputKey

private org.apache.hadoop.io.Text outputKey

outputValue

private org.apache.hadoop.io.Text outputValue
Constructor Detail

GrepTaskDB.Map

public GrepTaskDB.Map()
Method Detail

map

public void map(org.apache.hadoop.io.LongWritable dummy,
                GrepTaskDB.DocumentsRecord record,
                org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text> output,
                org.apache.hadoop.mapred.Reporter reporter)
         throws java.io.IOException
Specified by:
map in interface org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.LongWritable,GrepTaskDB.DocumentsRecord,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
Throws:
java.io.IOException