1RDF::Trine::Store::RedlUasnedr(3C)ontributed Perl DocumeRnDtFa:t:iTornine::Store::Redland(3)
2
3
4
6 RDF::Trine::Store::Redland - Redland-backed RDF store for RDF::Trine
7
9 This document describes RDF::Trine::Store::Redland version 1.019
10
12 use RDF::Trine::Store::Redland;
13
15 RDF::Trine::Store::Redland provides an RDF::Trine::Store interface to
16 the Redland RDF store.
17
19 Beyond the methods documented below, this class inherits methods from
20 the RDF::Trine::Store class.
21
22 "new ( $store )"
23 Returns a new storage object using the supplied RDF::Redland::Model
24 object.
25
26 "new_with_config ( $hashref )"
27 Returns a new storage object configured with a hashref with certain
28 keys as arguments.
29
30 The "storetype" key must be "Redland" for this backend.
31
32 The following keys may also be used:
33
34 "store_name"
35 The name of the storage factory (currently "hashes", "mysql",
36 "memory", "file", "postgresql", "sqlite", "tstore", "uri" or
37 "virtuoso").
38
39 "name"
40 The name of the storage.
41
42 "options"
43 Any other options to be passed to RDF::Redland::Storage as a
44 hashref.
45
46 "new_with_object ( $redland_model )"
47 Initialize the store with a RDF::Redland::Model object.
48
49 "temporary_store"
50 Returns a temporary (empty) triple store.
51
52 "get_statements ( $subject, $predicate, $object [, $context] )"
53 Returns a stream object of all statements matching the specified
54 subject, predicate and objects. Any of the arguments may be undef
55 to match any value.
56
57 "get_contexts"
58 Returns an RDF::Trine::Iterator over the RDF::Trine::Node objects
59 comprising the set of contexts of the stored quads.
60
61 "add_statement ( $statement [, $context] )"
62 Adds the specified $statement to the underlying model.
63
64 "remove_statement ( $statement [, $context])"
65 Removes the specified $statement from the underlying model.
66
67 "remove_statements ( $subject, $predicate, $object [, $context])"
68 Removes the specified $statement from the underlying model.
69
70 "count_statements ( $subject, $predicate, $object, $context )"
71 Returns a count of all the statements matching the specified
72 subject, predicate, object, and context. Any of the arguments may
73 be undef to match any value.
74
75 "size"
76 Returns the number of statements in the store.
77
78 "supports ( [ $feature ] )"
79 If $feature is specified, returns true if the feature is supported
80 by the store, false otherwise. If $feature is not specified,
81 returns a list of supported features.
82
84 Please report any bugs or feature requests to through the GitHub web
85 interface at <https://github.com/kasei/perlrdf/issues>.
86
88 Gregory Todd Williams "<gwilliams@cpan.org>"
89
91 Copyright (c) 2006-2012 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.32.1 2021-01-27 RDF::Trine::Store::Redland(3)