/usr/share/perl5/AtteanX/Query/AccessPlan/SingleQuadBGP.pm is in libatteanx-store-sparql-perl 0.010-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | package AtteanX::Query::AccessPlan::SingleQuadBGP;
use strict;
use warnings;
our $AUTHORITY = 'cpan:KJETILK';
our $VERSION = '0.010';
use Moo::Role;
use AtteanX::Plan::SPARQLBGP;
around 'access_plans' => sub {
my $orig = shift;
my $self = shift;
my $model = shift;
my $active_graphs = shift;
my $pattern = shift;
my @plans = $orig->($self, $model, $active_graphs, $pattern, @_);
if ($pattern->does('Attean::API::TriplePattern')) {
my $sp = AtteanX::Plan::SPARQLBGP->new(children => [shift(@plans)], distinct => 0, ordered => []);
push(@plans, $sp);
}
return @plans;
};
1;
__END__
=pod
=encoding utf-8
=head1 NAME
AtteanX::Query::AccessPlan::SingleQuadBGP - An access plan for single-quad basic graph patterns
=head1 SYNOPSIS
A query planner can compose this role using
with 'AtteanX::Query::AccessPlan::SingleQuadBGP';
=head1 DESCRIPTION
=head1 SEE ALSO
=head1 AUTHOR
Kjetil Kjernsmo E<lt>kjetilk@cpan.orgE<gt>.
=head1 COPYRIGHT AND LICENCE
This software is copyright (c) 2015, 2016 by Kjetil Kjernsmo.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=head1 DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|