1Attean::QuadModel(3) User Contributed Perl Documentation Attean::QuadModel(3)
2
3
4
6 Attean::QuadModel - RDF model backed by a quad-store
7
9 This document describes Attean::QuadModel version 0.030
10
12 use v5.14;
13 use Attean;
14 my $model = Attean::QuadModel->new( store => $store );
15
17 The Attean::QuadModel class represents a model that is backed by a
18 single Attean::API::QuadStore object. It conforms to the
19 Attean::API::Model role.
20
21 The Attean::QuadModel constructor requires one named argument:
22
23 store
24 A Attean::API::QuadStore object representing the backing quad-
25 store.
26
28 "get_quads ( $subject, $predicate, $object, $graph )"
29 Returns an Attean::API::Iterator for quads in the model that match
30 the supplied $subject, $predicate, $object, and $graph. Any of
31 these terms may be undefined or a Attean::API::Variable object, in
32 which case that term will be considered as a wildcard for the
33 purposes of matching.
34
35 The returned iterator conforms to both Attean::API::Iterator and
36 Attean::API::QuadIterator.
37
38 "plans_for_algebra( $algebra, $model, $active_graphs, $default_graphs
39 )"
40 Delegates to the underlying store if the store consumes
41 Attean::API::CostPlanner.
42
43 "cost_for_plan( $plan )"
44 Delegates to the underlying store if the store consumes
45 Attean::API::CostPlanner.
46
48 Please report any bugs or feature requests to through the GitHub web
49 interface at <https://github.com/kasei/attean/issues>.
50
53 Gregory Todd Williams "<gwilliams@cpan.org>"
54
56 Copyright (c) 2014--2020 Gregory Todd Williams. This program is free
57 software; you can redistribute it and/or modify it under the same terms
58 as Perl itself.
59
60
61
62perl v5.34.0 2021-07-22 Attean::QuadModel(3)