summaryrefslogtreecommitdiff
path: root/lib/Net/Riak.pm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/Net/Riak.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Net/Riak.pm b/lib/Net/Riak.pm
index f31415b..dda2ccc 100644
--- a/lib/Net/Riak.pm
+++ b/lib/Net/Riak.pm
@@ -124,20 +124,32 @@ Get the bucket by the specified name. Since buckets always exist, this will alwa
=method is_alive
+ if (!$client->is_alive) {
+ ...
+ }
+
Check if the Riak server for this client is alive
=method add
+ my $map_reduce = $client->add('bucket_name', 'key');
+
Start assembling a Map/Reduce operation
=method link
+ my $map_reduce = $client->link();
+
Start assembling a Map/Reduce operation
=method map
+ my $map_reduce = $client->add('bucket_name', 'key')->map("function ...");
+
Start assembling a Map/Reduce operation
=method reduce
+ my $map_reduce = $client->add(..)->map(..)->reduce("function ...");
+
Start assembling a Map/Reduce operation