org.springframework.data.keyvalue.riak.mapreduce
Class ErlangMapReduceOperation
java.lang.Object
org.springframework.data.keyvalue.riak.mapreduce.ErlangMapReduceOperation
- All Implemented Interfaces:
- MapReduceOperation
public class ErlangMapReduceOperation
- extends Object
- implements MapReduceOperation
An implementation of MapReduceOperation
to represent an Erlang M/R function, which must be already defined inside the
Riak server.
- Author:
- J. Brisbin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
language
protected String language
moduleFunction
protected Map moduleFunction
ErlangMapReduceOperation
public ErlangMapReduceOperation()
ErlangMapReduceOperation
public ErlangMapReduceOperation(String module,
String function)
setModule
public void setModule(String module)
- Set the Erlang module this function is defined in.
- Parameters:
module
-
setFunction
public void setFunction(String function)
- Set the name of this Erlang function.
- Parameters:
function
-
getRepresentation
public Object getRepresentation()
- Description copied from interface:
MapReduceOperation
- Get the implementation-specific representation of a Map/Reduce operation.
- Specified by:
getRepresentation
in interface MapReduceOperation
- Returns:
Copyright © 2010-2011 SpringSource. All Rights Reserved.