| Method Summary |
| |
__init__(self,
configuration,
identifier)
identifier: URIRef of the Store. |
| |
__del__(self)
Redirects python's native garbage collection into Store.close |
| |
__len__(self,
context)
Number of statements in the store. |
| |
add(self,
(subject,
predicate,
object_),
context,
quoted)
Add a triple to the store of triples. |
| |
bind(self,
prefix,
namespace)
|
| |
close(self,
commit_pending_transaction)
Properly handles transactions explicitely (with parameter) or by
default |
| |
commit(self)
Bsddb tx objects cannot be reused after commit |
| |
contexts(self,
triple)
Generator over all contexts in the graph. |
| |
destroy(self,
configuration)
Destroy the underlying bsddb persistence for this store |
| |
namespace(self,
prefix)
|
| |
namespaces(self)
|
| |
open(self,
path,
create)
|
| |
prefix(self,
namespace)
|
| |
remove(self,
(subject,
predicate,
object_),
context)
|
| |
rollback(self)
Bsddb tx objects cannot be reused after commit |
| |
sync(self)
|
| |
triples(self,
(subject,
predicate,
object_),
context)
A generator over all the triples matching |
| 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) |