public abstract class StaticMapReduce<MK,MV,RK,RV,R> extends Object implements MapReduce<MK,MV,RK,RV,R>
MapReduce.MapEmitter<K,V>, MapReduce.NullObject, MapReduce.ReduceEmitter<OK,OV>, MapReduce.StageMAP_REDUCE| Constructor and Description |
|---|
StaticMapReduce() |
| Modifier and Type | Method and Description |
|---|---|
MapReduce<MK,MV,RK,RV,R> |
clone()
When multiple workers on a single machine need MapReduce instances, it is possible to use clone.
|
boolean |
equals(Object object) |
int |
hashCode() |
void |
storeState(Configuration configuration)
When it is necessary to store the state of a MapReduce job, this method is called.
|
String |
toString() |
finalize, getClass, notify, notifyAll, wait, wait, waitaddResultToMemory, combine, createMapReduce, doStage, generateFinalResult, getMapKeySort, getMemoryKey, getReduceKeySort, loadState, map, reduce, workerEnd, workerStartpublic MapReduce<MK,MV,RK,RV,R> clone()
MapReduceMapReduce.storeState(Configuration) and MapReduce.loadState(org.apache.tinkerpop.gremlin.structure.Graph, Configuration) model.
The default implementation simply returns the object as it assumes that the MapReduce instance is a stateless singleton.public void storeState(Configuration configuration)
MapReduceCopyright © 2013–2019 Apache Software Foundation. All rights reserved.