org.apache.gora.examples.mapreduce
Class QueryCounter.QueryCounterMapper<K,T extends Persistent>
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<K1,V1,K2,V2>
org.apache.gora.mapreduce.GoraMapper<K,T,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.NullWritable>
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 classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper |
org.apache.hadoop.mapreduce.Mapper.Context |
Method Summary |
protected void |
map(K key,
T value,
org.apache.hadoop.mapreduce.Mapper.Context context)
|
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 |
QueryCounter.QueryCounterMapper
public QueryCounter.QueryCounterMapper()
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.