Data/Riak/Fast/MapReduce/Phase/Reduce.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 7 / 7 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« Data/Riak/Fast/MapReduce/Phase.pm ↑ Summary Data/Riak/Fast/Role/HasRiak.pm »
1 package Data::Riak::Fast::MapReduce::Phase::Reduce;
2 22 ▶use Mouse;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 # ABSTRACT: Reduce phase of a MapReduce
5  
6 22 extends 'Data::Riak::Fast::MapReduce::Phase::Map';
7  
8 22 has phase => (
9 is => 'ro',
10 isa => 'Str',
11 default => 'reduce'
12 );
13  
14 =head1 DESCRIPTION
15  
16 A map/reduce map phase for Data::Riak::Fast. See L<Data::Riak::Fast::MapReduce::Phase::Reduce>
17 for attribute information.
18  
19 =head1 SYNOPSIS
20  
21 my $mp = Data::Riak::Fast::MapReduce::Phase::Map->new(
22 language => "javascript", # The default
23 source => "function(v) { return [ v ] }",
24 keep => 1 # The default
25 );
26  
27 =cut
28  
29 22 1;
« Data/Riak/Fast/MapReduce/Phase.pm ↑ Summary Data/Riak/Fast/Role/HasRiak.pm »