|
Spring Data Key-Value | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.keyvalue.riak.mapreduce.RiakMapReduceJob
public class RiakMapReduceJob
An implementation of MapReduceJob
for the Riak data store.
Field Summary | |
---|---|
protected Object |
arg
|
protected List<Object> |
inputs
|
protected org.slf4j.Logger |
log
|
protected List<MapReducePhase> |
phases
|
protected RiakTemplate |
riakTemplate
|
Constructor Summary | |
---|---|
RiakMapReduceJob(RiakTemplate riakTemplate)
|
Method Summary | |
---|---|
MapReduceJob |
addInputs(List keys)
Set the list of inputs for this job. |
MapReduceJob |
addPhase(MapReducePhase phase)
Add a phase to this operation. |
Object |
call()
|
Object |
getArg()
Get the static argument for this job. |
List |
getInputs()
Get the list of inputs for this job. |
RiakTemplate |
getRiakTemplate()
|
void |
setArg(Object arg)
Set the static argument for this job. |
void |
setRiakTemplate(RiakTemplate riakTemplate)
|
String |
toJson()
Convert this job into the appropriate JSON to send to the server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final org.slf4j.Logger log
protected List<Object> inputs
protected List<MapReducePhase> phases
protected Object arg
protected RiakTemplate riakTemplate
Constructor Detail |
---|
public RiakMapReduceJob(RiakTemplate riakTemplate)
Method Detail |
---|
public RiakTemplate getRiakTemplate()
public void setRiakTemplate(RiakTemplate riakTemplate)
public List getInputs()
MapReduceJob
getInputs
in interface MapReduceJob
public MapReduceJob addInputs(List keys)
MapReduceJob
addInputs
in interface MapReduceJob
public MapReduceJob addPhase(MapReducePhase phase)
MapReduceJob
addPhase
in interface MapReduceJob
public void setArg(Object arg)
MapReduceJob
setArg
in interface MapReduceJob
public Object getArg()
MapReduceJob
getArg
in interface MapReduceJob
public String toJson()
MapReduceJob
toJson
in interface MapReduceJob
public Object call() throws Exception
call
in interface Callable
Exception
|
Spring Data Key-Value | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |