edu.arsc.multisearch
Class ServiceMap

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by edu.arsc.multisearch.ServiceMap
All Implemented Interfaces:
org.apache.hadoop.io.Closeable, org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.Text,ServiceWritable,org.apache.hadoop.io.Text,ResultSetWritable>

public class ServiceMap
extends org.apache.hadoop.mapred.MapReduceBase
implements org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.Text,ServiceWritable,org.apache.hadoop.io.Text,ResultSetWritable>


Constructor Summary
ServiceMap()
           
 
Method Summary
 void map(org.apache.hadoop.io.Text text, ServiceWritable serviceW, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,ResultSetWritable> outputCol, org.apache.hadoop.mapred.Reporter reporter)
          The map function.
 
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 org.apache.hadoop.io.Closeable
close
 

Constructor Detail

ServiceMap

public ServiceMap()
Method Detail

map

public void map(org.apache.hadoop.io.Text text,
                ServiceWritable serviceW,
                org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,ResultSetWritable> outputCol,
                org.apache.hadoop.mapred.Reporter reporter)
The map function.

Specified by:
map in interface org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.Text,ServiceWritable,org.apache.hadoop.io.Text,ResultSetWritable>
Parameters:
ServiceWritable - serviceW
Text - text
OutputCollector - outputCol
Reporter - reporter