| RDF-Core documentation | view source | Contained in the RDF-Core distribution. |
RDF::Core::Storage - An abstract ancestor of storage implementations
Storage is the place where statements reside. It can add, remove, count and get statements and ask about their existence.
Options depend on implementation of descendant. (Such as RDF::Core::Storage::Memory, RDF::Core::Storage::DB_File, RDF::Core::Storage::Postgres.)
Add RDF::Core::Statement instance to the storage, unless it already exists there.
Remove statement from the storage, if it's there.
Check if statement exists, that matches given mask. Parameters can be undefined, every value matches undefined parameter.
Count matching statements.
Retrieve matching statements. Returns RDF::Core::Enumerator object. (One of it's descendants.)
This package is subject to the MPL (or the GPL alternatively).
Ginger Alliance, rdf@gingerall.cz
RDF::Core::Storage::Memory, RDF::Core::Storage::DB_File, RDF::Core::Storage::Postgres
| RDF-Core documentation | view source | Contained in the RDF-Core distribution. |