From 2ebd31039f7bfedadcb9348b123dca433f57a4c1 Mon Sep 17 00:00:00 2001 From: Robin Edwards Date: Tue, 5 Oct 2010 14:58:39 +0100 Subject: merged doc --- lib/Net/Riak.pm | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'lib/Net/Riak.pm') diff --git a/lib/Net/Riak.pm b/lib/Net/Riak.pm index 156779b..ae9319e 100644 --- a/lib/Net/Riak.pm +++ b/lib/Net/Riak.pm @@ -100,17 +100,15 @@ client_id for this client =back -=head2 METHODS +=head1 METHODS -=over 4 - -=item bucket +=head2 bucket my $bucket = $client->bucket($name); Get the bucket by the specified name. Since buckets always exist, this will always return a L -=item is_alive +=head2 is_alive if (!$client->is_alive) { ... @@ -118,31 +116,32 @@ Get the bucket by the specified name. Since buckets always exist, this will alwa Check if the Riak server for this client is alive -=item add +=head2 add my $map_reduce = $client->add('bucket_name', 'key'); Start assembling a Map/Reduce operation -=item link +=head2 link my $map_reduce = $client->link(); Start assembling a Map/Reduce operation -=item map +=head2 map my $map_reduce = $client->add('bucket_name', 'key')->map("function ..."); Start assembling a Map/Reduce operation -=item reduce +=head2 reduce my $map_reduce = $client->add(..)->map(..)->reduce("function ..."); Start assembling a Map/Reduce operation -=back +=head2 SEE ALSO -=cut +Net::Riak::MapReduce +=cut -- cgit v1.2.3