Package rdflib :: Package store :: Module AuditableStorage :: Class AuditableStorage
[show private | hide private]
[frames | no frames]

Type AuditableStorage

object --+    
         |    
     Store --+
             |
            AuditableStorage


Method Summary
  __init__(self, storage)
  __len__(self, context)
Number of statements in the store.
  add(self, (subject, predicate, object_), context, quoted)
  bind(self, prefix, namespace)
  close(self, commit_pending_transaction)
This closes the database connection.
  commit(self)
  contexts(self, triple)
Generator over all contexts in the graph.
  destroy(self, configuration)
This destroys the instance of the store identified by the configuration string.
  namespace(self, prefix)
  namespaces(self)
  open(self, configuration, create)
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
  addN(self, quads)
Adds each item in the list of statements to a specific context.
  create(self, configuration)
  gc(self)
Allows the store to perform any needed garbage collection
  triples_choices(self, (subject, predicate, object_), context)
A variant of triples that can take a list of terms instead of a single term in any slot.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
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)
(Length operator)

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.
Overrides:
rdflib.store.Store.__len__ (inherited documentation)

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).
Overrides:
rdflib.store.Store.close (inherited documentation)

contexts(self, triple=None)

Generator over all contexts in the graph. If triple is specified, a generator over all contexts the triple is in.
Overrides:
rdflib.store.Store.contexts (inherited documentation)

destroy(self, configuration)

This destroys the instance of the store identified by the configuration string.
Overrides:
rdflib.store.Store.destroy (inherited documentation)

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
Overrides:
rdflib.store.Store.open (inherited documentation)

Generated by Epydoc 2.1 on Mon Oct 23 14:11:23 2006 http://epydoc.sf.net