File Coverage

blib/lib/Data/Riak/Fast/MapReduce/Phase/Reduce.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Data::Riak::Fast::MapReduce::Phase::Reduce;
2 22     22   13338 use Mouse;
  22         42  
  22         126  
3              
4             # ABSTRACT: Reduce phase of a MapReduce
5              
6             extends 'Data::Riak::Fast::MapReduce::Phase::Map';
7              
8             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
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             1;