S
- Single value typepublic class CollectShardedReducerHandle<S> extends ShardedReducerHandle<S,List<S>>
Modifier and Type | Class and Description |
---|---|
class |
CollectShardedReducerHandle.CollectShardedBroadcastHandle
BroadcastHandle for CollectShardedReducerHandle
|
ShardedReducerHandle.ShardedBroadcastHandle
random, REDUCER_COUNT, reducers
Constructor and Description |
---|
CollectShardedReducerHandle(CreateReducersApi reduceApi) |
Modifier and Type | Method and Description |
---|---|
BroadcastHandle<List<S>> |
createBroadcastHandle(BroadcastArrayHandle<KryoWritableWrapper<List<S>>> broadcasts) |
List<S> |
createList(int size) |
ReduceOperation<S,KryoWritableWrapper<List<S>>> |
createReduceOperation() |
List<S> |
createReduceResult(MasterGlobalCommUsage master) |
broadcastValue, getReducedValue, reduce, register
public CollectShardedReducerHandle(CreateReducersApi reduceApi)
public ReduceOperation<S,KryoWritableWrapper<List<S>>> createReduceOperation()
createReduceOperation
in class ShardedReducerHandle<S,List<S>>
public List<S> createReduceResult(MasterGlobalCommUsage master)
createReduceResult
in class ShardedReducerHandle<S,List<S>>
public BroadcastHandle<List<S>> createBroadcastHandle(BroadcastArrayHandle<KryoWritableWrapper<List<S>>> broadcasts)
createBroadcastHandle
in class ShardedReducerHandle<S,List<S>>
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.