1AtteanX::Store::Memory(U3s)er Contributed Perl DocumentatAitotneanX::Store::Memory(3)
2
3
4

NAME

6       AtteanX::Store::Memory - Simple in-memory RDF store
7

VERSION

9       This document describes AtteanX::Store::Memory version 0.033
10

SYNOPSIS

12        use AtteanX::Store::Memory;
13

DESCRIPTION

15       AtteanX::Store::Memory provides an in-memory quad-store.
16

ATTRIBUTES

18       "subject"
19       "predicate"
20       "object"
21       "graph"
22

METHODS

24       Beyond the methods documented below, this class inherits methods from
25       the Attean::API::QuadStore class.
26
27       "new ()"
28           Returns a new memory-backed storage object.
29
30       "size"
31           Returns the number of quads in the store.
32
33       "get_quads ( $subject, $predicate, $object, $graph )"
34           Returns a stream object of all statements matching the specified
35           subject, predicate and objects. Any of the arguments may be undef
36           to match any value.
37
38       "get_graphs"
39           Returns an iterator over the Attean::API::Term objects comprising
40           the set of graphs of the stored quads.
41
42       "add_quad ( $quad )"
43           Adds the specified $quad to the underlying model.
44
45       "remove_quad ( $statement )"
46           Removes the specified $statement from the underlying model.
47
48       "remove_quads ( $subject, $predicate, $object, $graph )"
49           Removes the specified $statement from the underlying model.
50
51       create_graph( $graph )
52           This is a no-op function for the memory quad-store.
53
54       drop_graph( $graph )
55           Removes all quads with the given $graph.
56
57       clear_graph( $graph )
58           Removes all quads with the given $graph.
59
60       "count_quads ( $subject, $predicate, $object, $graph )"
61           Returns a count of all the statements matching the specified
62           subject, predicate, object, and graph. Any of the arguments may be
63           undef to match any value.
64
65       "etag_value_for_quads"
66           If the store has the capability and knowledge to support caching,
67           returns a persistent token that will remain consistent as long as
68           the store's data doesn't change. This token is acceptable for use
69           as an HTTP ETag.
70
71       "mtime_for_quads"
72       "plans_for_algebra"
73           The store implements a cost-based query planner, but this method is
74           reimplemented to hand the overall control of the planning process
75           to an external planner by returning "undef".
76
77       "cost_for_plan"
78           This store provides a cost estimate only for retrieving individual
79           quad patterns in this method. It will allow other planners to
80           estimate the cost for any other parts of the plan by returning
81           "undef" for those parts.
82

BUGS

84       Please report any bugs or feature requests to through the GitHub web
85       interface at <https://github.com/kasei/perlrdf2/issues>.
86

AUTHOR

88       Gregory Todd Williams  "<gwilliams@cpan.org>"
89
91       Copyright (c) 2014--2022 Gregory Todd Williams. This program is free
92       software; you can redistribute it and/or modify it under the same terms
93       as Perl itself.
94
95
96
97perl v5.36.0                      2023-01-19         AtteanX::Store::Memory(3)
Impressum