Data::Riak::MapReduce::Phase::Map - Map phase of a MapReduce
version 1.8
my $mp = Data::Riak::MapReduce::Phase::Map->new( language => "javascript", # The default source => "function(v) { return [ v ] }", keep => 1 # The default );
A map/reduce map phase for Data::Riak
Flag controlling whether the results of this phase are included in the final result of the map/reduce. Defaults to true.
The language used with this phase. One of javascript or erlang. This attribute is required.
javascript
erlang
The name, used with built-in functions provided by Riak such as Riak.mapValues.
Riak.mapValues
The static argument passed to the map function.
The module name, if you are using a riak built-in function.
The function name, if you are using a riak built-in function.
The source of the function used in this phase.
Serialize this map phase.
Andrew Nelson <anelson at cpan.org>
Florian Ragwitz <rafl@debian.org>
This software is copyright (c) 2013 by Infinity Interactive.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Data::Riak, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Riak
CPAN shell
perl -MCPAN -e shell install Data::Riak
For more information on module installation, please visit the detailed CPAN module installation guide.