MapReduce.MapEmitter<K,V>, MapReduce.NullObject, MapReduce.ReduceEmitter<OK,OV>, MapReduce.StageMAP_REDUCE| Constructor and Description |
|---|
MapReduceB() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doStage(MapReduce.Stage stage) |
List<Integer> |
generateFinalResult(Iterator<KeyValue<Integer,Integer>> keyValues) |
String |
getMemoryKey() |
Optional<Comparator<Integer>> |
getReduceKeySort() |
void |
map(Vertex vertex,
MapReduce.MapEmitter<Integer,Integer> emitter) |
void |
reduce(Integer key,
Iterator<Integer> values,
MapReduce.ReduceEmitter<Integer,Integer> emitter) |
clone, equals, hashCode, storeState, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitaddResultToMemory, combine, createMapReduce, getMapKeySort, loadState, workerEnd, workerStartpublic boolean doStage(MapReduce.Stage stage)
public void map(Vertex vertex, MapReduce.MapEmitter<Integer,Integer> emitter)
public void reduce(Integer key, Iterator<Integer> values, MapReduce.ReduceEmitter<Integer,Integer> emitter)
public Optional<Comparator<Integer>> getReduceKeySort()
public String getMemoryKey()
Copyright © 2013–2021 Apache Software Foundation. All rights reserved.