diff options
author | franck cuny <franck@lumberjaph.net> | 2010-06-14 13:13:00 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-06-14 13:13:16 +0200 |
commit | a723888e2353d7c95ac7010f94a42ca1bb06f15f (patch) | |
tree | 61f48923e07c5c6a180456ee4a870d6280ab0293 /lib/Net/Riak.pm | |
parent | handle links correctly (diff) | |
download | net-riak-a723888e2353d7c95ac7010f94a42ca1bb06f15f.tar.gz |
update POD; add changelog
Diffstat (limited to 'lib/Net/Riak.pm')
-rw-r--r-- | lib/Net/Riak.pm | 12 |
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 |