|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.basho.riak.client.query.MapPhase
public class MapPhase
A Map Phase of a Map/Reduce job spec.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.basho.riak.client.query.MapReducePhase |
|---|
MapReducePhase.PhaseType |
| Constructor Summary | |
|---|---|
MapPhase(Function phaseFunction)
Create a MapPhase |
|
MapPhase(Function phaseFunction,
boolean keep)
Create a MapPhase |
|
MapPhase(Function phaseFunction,
Object arg)
Create a MapPhase |
|
MapPhase(Function phaseFunction,
Object arg,
boolean keepResult)
Create a MapPhase |
|
| Method Summary | |
|---|---|
Object |
getArg()
|
Function |
getPhaseFunction()
|
MapReducePhase.PhaseType |
getType()
The PhaseType of this MapReducePhase implementation. |
Boolean |
isKeep()
Is this phase's output to be returned or only passed as input to the next phase. |
static MapPhase |
map(Function function,
Object arg,
boolean keep)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapPhase(Function phaseFunction,
Object arg,
boolean keepResult)
phaseFunction - the Functionarg - an argument that will be passed to the phase verbatim
(Object#toString)keepResult - if the result should be returned or merely provide input for
the next phase.MapReduce.addMapPhase(Function, Object, boolean)
public MapPhase(Function phaseFunction,
Object arg)
phaseFunction - the Functionarg - an argument that will be passed to the phase verbatim
(Object#toString)MapReduce.addMapPhase(Function, Object)public MapPhase(Function phaseFunction)
phaseFunction - the FunctionMapReduce.addMapPhase(Function)
public MapPhase(Function phaseFunction,
boolean keep)
phaseFunction - the FunctionkeepResult - if the result should be returned or merely provide input for
the next phase.MapReduce.addMapPhase(Function, Object, boolean)| Method Detail |
|---|
public Function getPhaseFunction()
public Boolean isKeep()
MapReducePhase
isKeep in interface MapReducePhasepublic Object getArg()
public static MapPhase map(Function function,
Object arg,
boolean keep)
public MapReducePhase.PhaseType getType()
MapReducePhaseMapReducePhase implementation.
getType in interface MapReducePhase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||