| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package AtteanX::Plan::LDF::Triple::EnterCache; | 
| 2 | 9 |  |  | 9 |  | 102 | use v5.14; | 
|  | 9 |  |  |  |  | 22 |  | 
| 3 | 9 |  |  | 9 |  | 31 | use warnings; | 
|  | 9 |  |  |  |  | 7 |  | 
|  | 9 |  |  |  |  | 390 |  | 
| 4 |  |  |  |  |  |  |  | 
| 5 |  |  |  |  |  |  | our $AUTHORITY = 'cpan:KJETILK'; | 
| 6 |  |  |  |  |  |  | our $VERSION = '0.002'; | 
| 7 |  |  |  |  |  |  |  | 
| 8 | 9 |  |  | 9 |  | 29 | use Moo; | 
|  | 9 |  |  |  |  | 8 |  | 
|  | 9 |  |  |  |  | 44 |  | 
| 9 | 9 |  |  | 9 |  | 14899 | use Class::Method::Modifiers; | 
|  | 9 |  |  |  |  | 13 |  | 
|  | 9 |  |  |  |  | 472 |  | 
| 10 | 9 |  |  | 9 |  | 30 | use Attean; | 
|  | 9 |  |  |  |  | 13 |  | 
|  | 9 |  |  |  |  | 77 |  | 
| 11 | 9 |  |  | 9 |  | 148 | use Carp; | 
|  | 9 |  |  |  |  | 15 |  | 
|  | 9 |  |  |  |  | 384 |  | 
| 12 | 9 |  |  | 9 |  | 30 | use namespace::clean; | 
|  | 9 |  |  |  |  | 11 |  | 
|  | 9 |  |  |  |  | 61 |  | 
| 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; |