line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
50
|
|
|
50
|
|
627
|
use v5.14; |
|
50
|
|
|
|
|
163
|
|
2
|
50
|
|
|
50
|
|
259
|
use warnings; |
|
50
|
|
|
|
|
105
|
|
|
50
|
|
|
|
|
2387
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
=head1 NAME |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
Attean::IDPQueryPlanner - Iterative dynamic programming query planner |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 VERSION |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
This document describes Attean::IDPQueryPlanner version 0.032 |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 SYNOPSIS |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
use v5.14; |
15
|
|
|
|
|
|
|
use Attean; |
16
|
|
|
|
|
|
|
my $planner = Attean::IDPQueryPlanner->new(); |
17
|
|
|
|
|
|
|
my $default_graphs = [ Attean::IRI->new('http://example.org/') ]; |
18
|
|
|
|
|
|
|
my $plan = $planner->plan_for_algebra( $algebra, $model, $default_graphs ); |
19
|
|
|
|
|
|
|
my $iter = $plan->evaluate($model); |
20
|
|
|
|
|
|
|
my $iter = $e->evaluate( $model ); |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
The Attean::IDPQueryPlanner class implements a query planner using the |
25
|
|
|
|
|
|
|
iterative dynamic programming approach. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=over 4 |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=back |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 METHODS |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=over 4 |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
use Moo; |
40
|
50
|
|
|
50
|
|
290
|
use namespace::clean; |
|
50
|
|
|
|
|
111
|
|
|
50
|
|
|
|
|
289
|
|
41
|
50
|
|
|
50
|
|
16108
|
|
|
50
|
|
|
|
|
113
|
|
|
50
|
|
|
|
|
426
|
|
42
|
|
|
|
|
|
|
extends 'Attean::QueryPlanner'; |
43
|
|
|
|
|
|
|
with 'Attean::API::IDPJoinPlanner'; |
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
1; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=back |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 BUGS |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Please report any bugs or feature requests to through the GitHub web interface |
54
|
|
|
|
|
|
|
at L<https://github.com/kasei/attean/issues>. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 SEE ALSO |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head1 AUTHOR |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
Gregory Todd Williams C<< <gwilliams@cpan.org> >> |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 COPYRIGHT |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
Copyright (c) 2014--2022 Gregory Todd Williams. |
67
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it under |
68
|
|
|
|
|
|
|
the same terms as Perl itself. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=cut |