S - Type of values to collectpublic class CollectReduceOperation<S> extends KryoWrappedReduceOperation<S,List<S>>
| Constructor and Description |
|---|
CollectReduceOperation() |
| Modifier and Type | Method and Description |
|---|---|
List<S> |
createList() |
List<S> |
createValue()
Look at ReduceOperation.createValue.
|
void |
reduce(List<S> reduceInto,
S value)
Look at ReduceOperation.reduce.
|
void |
reduceMerge(List<S> reduceInto,
List<S> toReduce)
Look at ReduceOperation.reduceMerge.
|
createInitialValue, readFields, reduce, reduceMerge, writepublic List<S> createValue()
KryoWrappedReduceOperationcreateValue in class KryoWrappedReduceOperation<S,List<S>>public void reduce(List<S> reduceInto, S value)
KryoWrappedReduceOperationreduce in class KryoWrappedReduceOperation<S,List<S>>reduceInto - Partial value into which to reduce and store the resultvalue - Single value to be reducedpublic void reduceMerge(List<S> reduceInto, List<S> toReduce)
KryoWrappedReduceOperationreduceMerge in class KryoWrappedReduceOperation<S,List<S>>reduceInto - Partial value into which to reduce and store the resulttoReduce - Partial value to be reducedCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.