line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package App::RecordStream::Clumper::WrappedClumperCallback; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
27
|
use strict; |
|
4
|
|
|
|
|
11
|
|
|
4
|
|
|
|
|
121
|
|
4
|
4
|
|
|
4
|
|
23
|
use warnings; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
113
|
|
5
|
|
|
|
|
|
|
|
6
|
4
|
|
|
4
|
|
246
|
use App::RecordStream::Aggregator; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
82
|
|
7
|
4
|
|
|
4
|
|
20
|
use App::RecordStream::Record; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
712
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub new { |
10
|
22
|
|
|
22
|
0
|
55
|
my $class = shift; |
11
|
22
|
|
|
|
|
48
|
my $clumper = shift; |
12
|
22
|
|
|
|
|
44
|
my $next = shift; |
13
|
|
|
|
|
|
|
|
14
|
22
|
|
|
|
|
79
|
my $this = { |
15
|
|
|
|
|
|
|
'CLUMPER' => $clumper, |
16
|
|
|
|
|
|
|
'NEXT' => $next, |
17
|
|
|
|
|
|
|
}; |
18
|
22
|
|
|
|
|
53
|
bless $this, $class; |
19
|
|
|
|
|
|
|
|
20
|
22
|
|
|
|
|
119
|
return $this; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub clumper_callback_begin { |
24
|
36
|
|
|
36
|
0
|
98
|
my $this = shift; |
25
|
36
|
|
|
|
|
87
|
my $bucket = shift; |
26
|
|
|
|
|
|
|
|
27
|
36
|
|
|
|
|
190
|
return $this->{'CLUMPER'}->clumper_begin($bucket); |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub clumper_callback_push_record { |
31
|
180
|
|
|
180
|
0
|
407
|
my $this = shift; |
32
|
180
|
|
|
|
|
308
|
my $cookie = shift; |
33
|
180
|
|
|
|
|
309
|
my $record = shift; |
34
|
|
|
|
|
|
|
|
35
|
180
|
|
|
|
|
699
|
return $this->{'CLUMPER'}->clumper_push_record($cookie, $record, $this->{'NEXT'}); |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
sub clumper_callback_end { |
39
|
36
|
|
|
36
|
0
|
79
|
my $this = shift; |
40
|
36
|
|
|
|
|
70
|
my $cookie = shift; |
41
|
|
|
|
|
|
|
|
42
|
36
|
|
|
|
|
267
|
return $this->{'CLUMPER'}->clumper_end($cookie, $this->{'NEXT'}); |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
1; |