R - Reduced object type.public abstract class ReduceSameTypeOperation<R extends org.apache.hadoop.io.Writable> extends Object implements ReduceOperation<R,R>
| Constructor and Description | 
|---|
| ReduceSameTypeOperation() | 
| Modifier and Type | Method and Description | 
|---|---|
| R | reduceMerge(R curValue,
           R valueToReduce)Add partially reduced value to current partially reduced value. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateInitialValue, reducepublic final R reduceMerge(R curValue, R valueToReduce)
ReduceOperationreduceMerge in interface ReduceOperation<R extends org.apache.hadoop.io.Writable,R extends org.apache.hadoop.io.Writable>curValue - Partial value into which to reduce and store the resultvalueToReduce - Partial value to be reducedCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.