1RDF::Trine::Store::RediUss(e3r)Contributed Perl DocumentRaDtFi:o:nTrine::Store::Redis(3)
2
3
4
6 RDF::Trine::Store::Redis - RDF Store for Redis
7
9 This document describes RDF::Trine::Store::Redis version 1.019
10
12 use RDF::Trine::Store::Redis;
13
15 RDF::Trine::Store::Redis provides a RDF::Trine::Store API to interact
16 with a Redis server.
17
19 Beyond the methods documented below, this class inherits methods from
20 the RDF::Trine::Store class.
21
22 "new ( $server )"
23 Returns a new storage object.
24
25 "new_with_config ( $hashref )"
26 Returns a new storage object configured with a hashref with certain
27 keys as arguments.
28
29 The "storetype" key must be "Redis" for this backend.
30
31 The following key must also be used:
32
33 foo description
34
35 "conn"
36 Returns the Redis connection object.
37
38 "cache"
39 Returns the Cache::LRU object used to cache frequently used redis
40 data.
41
42 "new_with_config ( \%config )"
43 Returns a new RDF::Trine::Store object based on the supplied
44 configuration hashref.
45
46 "add_statement ( $statement [, $context] )"
47 Adds the specified $statement to the underlying model.
48
49 "remove_statement ( $statement [, $context])"
50 Removes the specified $statement from the underlying model.
51
52 "remove_statements ( $subject, $predicate, $object [, $context])"
53 Removes the specified $statement from the underlying model.
54
55 "get_statements ($subject, $predicate, $object [, $context] )"
56 Returns a stream object of all statements matching the specified
57 subject, predicate and objects. Any of the arguments may be undef
58 to match any value.
59
60 "count_statements ( $subject, $predicate, $object, $context )"
61 Returns a count of all the statements matching the specified
62 subject, predicate, object, and context. Any of the arguments may
63 be undef to match any value.
64
65 "get_contexts"
66 Returns an RDF::Trine::Iterator over the RDF::Trine::Node objects
67 comprising the set of contexts of the stored quads.
68
69 "supports ( [ $feature ] )"
70 If $feature is specified, returns true if the feature is supported
71 by the store, false otherwise. If $feature is not specified,
72 returns a list of supported features.
73
74 "nuke"
75 Permanently removes the store and its data.
76
78 ...
79
81 Please report any bugs or feature requests to through the GitHub web
82 interface at <https://github.com/kasei/perlrdf/issues>.
83
85 Gregory Todd Williams "<gwilliams@cpan.org>"
86
88 Copyright (c) 2006-2012 Gregory Todd Williams. This program is free
89 software; you can redistribute it and/or modify it under the same terms
90 as Perl itself.
91
92
93
94perl v5.30.1 2020-01-30 RDF::Trine::Store::Redis(3)