NAME
Attean::QueryPlanner - Query planner
VERSION
This document describes Attean::QueryPlanner version 0.009
SYNOPSIS
use v5.14;
use Attean;
my $planner = Attean::QueryPlanner->new();
my $default_graphs = [ Attean::IRI->new('http://example.org/') ];
my $plan = $planner->plan_for_algebra( $algebra, $model, $default_graphs );
my $iter = $plan->evaluate($model);
my $iter = $e->evaluate( $model );
DESCRIPTION
The Attean::QueryPlanner class implements a query planner using the iterative dynamic programming approach.
ATTRIBUTES
METHODS
plans_for_algebra( $algebra, $model, \@active_graphs, \@default_graphs )-
Returns Attean::API::Plan objects representing alternate query plans for evaluating the query
$algebraagainst the$model, using the supplied$active_graph. bgp_join_plans( $bgp, $model, \@active_graphs, \@default_graphs, \@interesting_order, \@plansA, \@plansB, ... )-
Returns a list of alternative plans for the join of a set of triples. The arguments
@plansA,@plansB, etc. represent alternative plans for each triple participating in the join. group_join_plans( $model, \@active_graphs, \@default_graphs, \@interesting_order, \@plansA, \@plansB, ... )-
Returns a list of alternative plans for the join of a set of sub-plans. The arguments
@plansA,@plansB, etc. represent alternative plans for each sub-plan participating in the join.
BUGS
Please report any bugs or feature requests to through the GitHub web interface at https://github.com/kasei/attean/issues.
SEE ALSO
AUTHOR
Gregory Todd Williams <gwilliams@cpan.org>
COPYRIGHT
Copyright (c) 2014 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.