| Home | Trees | Index | Help |
|---|
| Package rdflib :: Package store :: Module AuditableStorage :: Class AuditableStorage |
|
object--+ |Store--+ | AuditableStorage
| Method Summary | |
|---|---|
__init__(self,
storage)
| |
Number of statements in the store. | |
add(self,
(subject,
predicate,
object_),
context,
quoted)
| |
bind(self,
prefix,
namespace)
| |
This closes the database connection. | |
commit(self)
| |
Generator over all contexts in the graph. | |
This destroys the instance of the store identified by the configuration string. | |
namespace(self,
prefix)
| |
namespaces(self)
| |
Opens the store specified by the configuration string. | |
prefix(self,
namespace)
| |
remove(self,
(subject,
predicate,
object_),
context)
| |
rollback(self)
| |
triples(self,
(subject,
predicate,
object_),
context)
| |
| Inherited from Store | |
Adds each item in the list of statements to a specific context. | |
| |
Allows the store to perform any needed garbage collection | |
A variant of triples that can take a list of terms instead of a single term in any slot. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Property Summary | |
|---|---|
| Inherited from Store | |
node_pickler | |
| Class Variable Summary | |
|---|---|
| Inherited from Store | |
bool |
context_aware = False
|
bool |
formula_aware = False
|
bool |
transaction_aware = False
|
| Method Details |
|---|
__len__(self,
context=None)
Number of statements in the store. This should only account for
non-quoted (asserted) statements if the context is not specified,
otherwise it should return the number of statements in the formula or
context given.
|
close(self, commit_pending_transaction=False)This closes the database connection. The commit_pending_transaction parameter specifies whether to commit all pending transactions before closing (if the store is transactional).
|
contexts(self, triple=None)Generator over all contexts in the graph. If triple is specified, a generator over all contexts the triple is in.
|
destroy(self, configuration)This destroys the instance of the store identified by the configuration string.
|
open(self, configuration, create=True)Opens the store specified by the configuration string. If create is True a store will be created if it does not already exist. If create is False and a store does not already exist an exception is raised. An exception is also raised if a store exists, but there is insufficient permissions to open the store. This should return one of VALID_STORE,CORRUPTED_STORE,or NO_STORE
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Wed Apr 4 16:05:49 2007 | http://epydoc.sf.net |