public class CollectShardedTuplesOfPrimitivesReducerHandle extends ShardedReducerHandle<List<Object>,List<WArrayList>>
Modifier and Type | Class and Description |
---|---|
class |
CollectShardedTuplesOfPrimitivesReducerHandle.CollectShardedTuplesOfPrimitivesBroadcastHandle
BroadcastHandle for CollectShardedTuplesOfPrimitivesReducerHandle
|
static class |
CollectShardedTuplesOfPrimitivesReducerHandle.CollectShardedTuplesOfPrimitivesReduceBroadcast
Reduce broadcast wrapper
|
ShardedReducerHandle.ShardedBroadcastHandle
random, REDUCER_COUNT, reducers
Constructor and Description |
---|
CollectShardedTuplesOfPrimitivesReducerHandle(CreateReducersApi reduceApi,
Class<?>... valueClasses) |
Modifier and Type | Method and Description |
---|---|
BroadcastHandle<List<WArrayList>> |
createBroadcastHandle(BroadcastArrayHandle<KryoWritableWrapper<List<WArrayList>>> broadcasts) |
List<WArrayList> |
createLists(int size) |
ReduceOperation<List<Object>,KryoWritableWrapper<List<WArrayList>>> |
createReduceOperation() |
List<WArrayList> |
createReduceResult(MasterGlobalCommUsage master) |
List<Object> |
createSingleValue() |
broadcastValue, getReducedValue, reduce, register
public CollectShardedTuplesOfPrimitivesReducerHandle(CreateReducersApi reduceApi, Class<?>... valueClasses)
public ReduceOperation<List<Object>,KryoWritableWrapper<List<WArrayList>>> createReduceOperation()
createReduceOperation
in class ShardedReducerHandle<List<Object>,List<WArrayList>>
public List<WArrayList> createReduceResult(MasterGlobalCommUsage master)
createReduceResult
in class ShardedReducerHandle<List<Object>,List<WArrayList>>
public List<WArrayList> createLists(int size)
public BroadcastHandle<List<WArrayList>> createBroadcastHandle(BroadcastArrayHandle<KryoWritableWrapper<List<WArrayList>>> broadcasts)
createBroadcastHandle
in class ShardedReducerHandle<List<Object>,List<WArrayList>>
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.