Spring Data Key-Value

org.springframework.data.keyvalue.riak.mapreduce
Interface MapReducePhase

All Known Implementing Classes:
RiakMapReducePhase

public interface MapReducePhase

A generic interface to the phases of Map/Reduce jobs.

Author:
J. Brisbin

Nested Class Summary
static class MapReducePhase.Phase
           
 
Method Summary
 Object getArg()
          Get the static argument for this phase.
 boolean getKeepResults()
          Whether or not to keep the result of this phase.
 String getLanguage()
          The language this phase is described in.
 MapReduceOperation getOperation()
          Get the operation this phase will execute.
 MapReducePhase.Phase getPhase()
           
 void setArg(Object arg)
          Set the static argument for this job.
 

Method Detail

getPhase

MapReducePhase.Phase getPhase()

getLanguage

String getLanguage()
The language this phase is described in.

Returns:

getKeepResults

boolean getKeepResults()
Whether or not to keep the result of this phase.

Returns:

getOperation

MapReduceOperation getOperation()
Get the operation this phase will execute.

Returns:

setArg

void setArg(Object arg)
Set the static argument for this job.

Parameters:
arg -

getArg

Object getArg()
Get the static argument for this phase.

Returns:

Spring Data Key-Value

Copyright © 2010-2011 SpringSource. All Rights Reserved.