diff options
| author | Gavin Carr <gavin@openfusion.com.au> | 2010-09-08 09:48:48 +0100 |
|---|---|---|
| committer | Gavin Carr <gavin@openfusion.com.au> | 2010-09-08 09:48:48 +0100 |
| commit | 4c2909de65d101e3a11c03f5f146e66cdb96628c (patch) | |
| tree | 65bfa31eab2aeb26960f6cf74a7aea559b9a04c3 /lib/Net/Riak.pm | |
| parent | update Bucket pod with stream changes (and misc tweaks) (diff) | |
| download | net-riak-4c2909de65d101e3a11c03f5f146e66cdb96628c.tar.gz | |
change =method pod items to =item
Diffstat (limited to '')
| -rw-r--r-- | lib/Net/Riak.pm | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/lib/Net/Riak.pm b/lib/Net/Riak.pm index 1fb8c21..156779b 100644 --- a/lib/Net/Riak.pm +++ b/lib/Net/Riak.pm @@ -102,13 +102,15 @@ client_id for this client =head2 METHODS -=method bucket +=over 4 + +=item 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> -=method is_alive +=item is_alive if (!$client->is_alive) { ... @@ -116,26 +118,31 @@ Get the bucket by the specified name. Since buckets always exist, this will alwa Check if the Riak server for this client is alive -=method add +=item add my $map_reduce = $client->add('bucket_name', 'key'); Start assembling a Map/Reduce operation -=method link +=item link my $map_reduce = $client->link(); Start assembling a Map/Reduce operation -=method map +=item map my $map_reduce = $client->add('bucket_name', 'key')->map("function ..."); Start assembling a Map/Reduce operation -=method reduce +=item reduce my $map_reduce = $client->add(..)->map(..)->reduce("function ..."); Start assembling a Map/Reduce operation + +=back + +=cut + |
