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() |
void |
reduce(List<S> reduceInto,
S value) |
void |
reduceMerge(List<S> reduceInto,
List<S> toReduce) |
createInitialValue, readFields, reduce, reduceMerge, writepublic List<S> createValue()
createValue in class KryoWrappedReduceOperation<S,List<S>>public void reduce(List<S> reduceInto, S value)
reduce in class KryoWrappedReduceOperation<S,List<S>>public void reduceMerge(List<S> reduceInto, List<S> toReduce)
reduceMerge in class KryoWrappedReduceOperation<S,List<S>>Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.