public class ReducePhase extends MapPhase
MapReducePhase.PhaseType
Constructor and Description |
---|
ReducePhase(Function phaseFunction) |
ReducePhase(Function phaseFunction,
boolean keep) |
ReducePhase(Function phaseFunction,
Object arg) |
ReducePhase(Function phaseFunction,
Object arg,
boolean keepResult)
Create a Reduce Phase
|
Modifier and Type | Method and Description |
---|---|
MapReducePhase.PhaseType |
getType()
The PhaseType of this
MapReducePhase implementation. |
getArg, getPhaseFunction, isKeep, map
public ReducePhase(Function phaseFunction, Object arg, boolean keepResult)
phaseFunction
- arg
- keepResult
- public ReducePhase(Function phaseFunction, boolean keep)
phaseFunction
- keep
- public ReducePhase(Function phaseFunction)
phaseFunction
- public MapReducePhase.PhaseType getType()
MapReducePhase
MapReducePhase
implementation.getType
in interface MapReducePhase
getType
in class MapPhase
Copyright © 2013. All Rights Reserved.