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