org.apache.gora.examples.mapreduce
Class QueryCounter.QueryCounterMapper<K,T extends Persistent>

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Mapper<K1,V1,K2,V2>
      extended by org.apache.gora.mapreduce.GoraMapper<K,T,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
          extended by org.apache.gora.examples.mapreduce.QueryCounter.QueryCounterMapper<K,T>
Enclosing class:
QueryCounter<K,T extends Persistent>

public static class QueryCounter.QueryCounterMapper<K,T extends Persistent>
extends GoraMapper<K,T,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
org.apache.hadoop.mapreduce.Mapper.Context
 
Constructor Summary
QueryCounter.QueryCounterMapper()
           
 
Method Summary
protected  void map(K key, T value, org.apache.hadoop.mapreduce.Mapper.Context context)
           
 
Methods inherited from class org.apache.gora.mapreduce.GoraMapper
initMapperJob, initMapperJob, initMapperJob, initMapperJob, initMapperJob
 
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
 

Constructor Detail

QueryCounter.QueryCounterMapper

public QueryCounter.QueryCounterMapper()
Method Detail

map

protected void map(K key,
                   T value,
                   org.apache.hadoop.mapreduce.Mapper.Context context)
            throws IOException,
                   InterruptedException
Overrides:
map in class org.apache.hadoop.mapreduce.Mapper<K,T extends Persistent,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
Throws:
IOException
InterruptedException


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.