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.Stage
MAP_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, wait
addResultToMemory, combine, createMapReduce, doStage, generateFinalResult, getMapKeySort, getMemoryKey, getReduceKeySort, loadState, map, reduce, workerEnd, workerStart
public MapReduce<MK,MV,RK,RV,R> clone()
MapReduce
MapReduce.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)
MapReduce
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.