diff options
Diffstat (limited to 'lib/Net/Riak.pm')
-rw-r--r-- | lib/Net/Riak.pm | 21 |
1 files changed, 10 insertions, 11 deletions
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<Net::Riak::Bucket> -=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 |