com.basho.riak.client.mapreduce
Class ErlangFunction
java.lang.Object
com.basho.riak.client.mapreduce.ErlangFunction
- All Implemented Interfaces:
- MapReduceFunction
Deprecated. with the addition of a protocol buffers client in 0.14 all the
existing REST client code should be in client.http.* this class
has therefore been moved. Please use
com.basho.riak.client.http.mapreduce.ErlangFunction
instead.
WARNING: This class will be REMOVED in the next version.
@Deprecated
public class ErlangFunction
- extends Object
- implements MapReduceFunction
Represents an Erlang function used in a map or reduce phase
of a map/reduce job
- See Also:
ErlangFunction
Method Summary |
JSONObject |
toJson()
Deprecated. Converts the function definition to JSON |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErlangFunction
public ErlangFunction(String module,
String functionName)
- Deprecated.
- Constructs a new ErlangFunction instance
- Parameters:
module
- Erlang module namefunctionName
- Erlang function name
toJson
public JSONObject toJson()
- Deprecated.
- Converts the function definition to JSON
- Specified by:
toJson
in interface MapReduceFunction
Copyright © 2012. All Rights Reserved.