|
|
| |
RDF::Core::Storage(3) |
User Contributed Perl Documentation |
RDF::Core::Storage(3) |
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.
- new(\%options)
Options depend on implementation of descendant. (Such as
RDF::Core::Storage::Memory, RDF::Core::Storage::DB_File,
RDF::Core::Storage::Postgres.)
- addStmt($statement)
Add RDF::Core::Statement instance to the storage, unless it
already exists there.
- removeStmt($statement)
Remove statement from the storage, if it's there.
- existsStmt($subject,$predicate,$object)
Check if statement exists, that matches given mask. Parameters
can be undefined, every value matches undefined parameter.
- countStmts($subject,$predicate,$object)
Count matching statements.
- getStmts($subject,$predicate,$object)
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
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |