line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package AtteanX::Plan::LDF::Triple::EnterCache; |
2
|
9
|
|
|
9
|
|
120
|
use v5.14; |
|
9
|
|
|
|
|
23
|
|
3
|
9
|
|
|
9
|
|
32
|
use warnings; |
|
9
|
|
|
|
|
9
|
|
|
9
|
|
|
|
|
399
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:KJETILK'; |
6
|
|
|
|
|
|
|
our $VERSION = '0.01'; |
7
|
|
|
|
|
|
|
|
8
|
9
|
|
|
9
|
|
34
|
use Moo; |
|
9
|
|
|
|
|
9
|
|
|
9
|
|
|
|
|
41
|
|
9
|
9
|
|
|
9
|
|
16470
|
use Class::Method::Modifiers; |
|
9
|
|
|
|
|
16
|
|
|
9
|
|
|
|
|
514
|
|
10
|
9
|
|
|
9
|
|
39
|
use Attean; |
|
9
|
|
|
|
|
9
|
|
|
9
|
|
|
|
|
89
|
|
11
|
9
|
|
|
9
|
|
167
|
use Carp; |
|
9
|
|
|
|
|
9
|
|
|
9
|
|
|
|
|
1083
|
|
12
|
9
|
|
|
9
|
|
38
|
use namespace::clean; |
|
9
|
|
|
|
|
9
|
|
|
9
|
|
|
|
|
74
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
extends 'AtteanX::Plan::LDF::Triple'; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
around 'impl' => sub { |
17
|
|
|
|
|
|
|
my $orig = shift; |
18
|
|
|
|
|
|
|
my @params = @_; |
19
|
|
|
|
|
|
|
my $self = shift; |
20
|
|
|
|
|
|
|
my $model = shift; |
21
|
|
|
|
|
|
|
$model->publisher->publish('prefetch.triplepattern', $self->tuples_string); |
22
|
|
|
|
|
|
|
return $orig->(@params); |
23
|
|
|
|
|
|
|
}; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
around 'plan_as_string' => sub { |
26
|
|
|
|
|
|
|
my $orig = shift; |
27
|
|
|
|
|
|
|
return $orig->(@_) . ' (publish)'; |
28
|
|
|
|
|
|
|
}; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |