org.apache.hadoop.hbase.mapreduce
Class PutCombiner<K>
java.lang.Object
org.apache.hadoop.mapreduce.Reducer<K,Put,K,Put>
org.apache.hadoop.hbase.mapreduce.PutCombiner<K>
@InterfaceAudience.Public
@InterfaceStability.Evolving
public class PutCombiner<K>
- extends org.apache.hadoop.mapreduce.Reducer<K,Put,K,Put>
Combine Puts. Merges Put instances grouped by K
into a single
instance.
- See Also:
TableMapReduceUtil
Method Summary |
protected void |
reduce(K row,
Iterable<Put> vals,
org.apache.hadoop.mapreduce.Reducer.Context context)
|
Methods inherited from class org.apache.hadoop.mapreduce.Reducer |
cleanup, run, setup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PutCombiner
public PutCombiner()
reduce
protected void reduce(K row,
Iterable<Put> vals,
org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
- Overrides:
reduce
in class org.apache.hadoop.mapreduce.Reducer<K,Put,K,Put>
- Throws:
IOException
InterruptedException
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.