public class HadoopDefaultMapReducePlan extends Object implements HadoopMapReducePlan
| Constructor and Description |
|---|
HadoopDefaultMapReducePlan(Map<UUID,Collection<HadoopInputSplit>> mappers,
Map<UUID,int[]> reducers) |
| Modifier and Type | Method and Description |
|---|---|
Collection<UUID> |
mapperNodeIds() |
int |
mappers() |
Collection<HadoopInputSplit> |
mappers(UUID nodeId) |
UUID |
nodeForReducer(int reducer) |
Collection<UUID> |
reducerNodeIds() |
int |
reducers() |
int[] |
reducers(UUID nodeId) |
public HadoopDefaultMapReducePlan(Map<UUID,Collection<HadoopInputSplit>> mappers, Map<UUID,int[]> reducers)
mappers - Mappers map.reducers - Reducers map.public int mappers()
mappers in interface HadoopMapReducePlanpublic int reducers()
reducers in interface HadoopMapReducePlanpublic UUID nodeForReducer(int reducer)
nodeForReducer in interface HadoopMapReducePlan@Nullable public Collection<HadoopInputSplit> mappers(UUID nodeId)
mappers in interface HadoopMapReducePlan@Nullable public int[] reducers(UUID nodeId)
reducers in interface HadoopMapReducePlanpublic Collection<UUID> mapperNodeIds()
mapperNodeIds in interface HadoopMapReducePlanpublic Collection<UUID> reducerNodeIds()
reducerNodeIds in interface HadoopMapReducePlan
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019