| Home | Trees | Index | Help |
|
|---|
| Package Pyblio :: Package Stores :: Module filestore :: Class Database |
|
object--+ |Database--+ |object--+ | | |Publisher--+ |object--+ | | |Queryable--+ | Database
| Method Summary | |
|---|---|
__init__(self,
schema,
file,
create)
| |
__delitem__(self,
k)
| |
Get a record by key. | |
__setitem__(self,
key,
value)
| |
Insert a new entry in the database. | |
has_key(self,
k)
| |
save(self)
| |
Return the result set that contains all the entries. | |
| Inherited from Queryable | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| Inherited from Database | |
Partition the result set in a list of sets for every value taken by the specified field | |
Check an entry for conformance against the Schema. | |
| |
Output a database in XML format | |
| |
Check if a Txo can be safely removed | |
| Inherited from Publisher | |
Call this method to emit a signal. | |
Clients interested in a given signal must register with this method. | |
Stop notifying events for the specified signal/callback pair. | |
| 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 Database | |
entries | |
| Class Variable Summary | |
|---|---|
| Inherited from Database | |
entries = Pyblio.Store.Database.entries | |
txo: a TxoGroup instance, containing all the
taxonomy definitions in the database. | |
| Method Details |
|---|
__getitem__(self,
key)
Get a record by key.
|
add(self, record, key=None)Insert a new entry in the database. New entries MUST be added with this method, not via an update with a hand-made Key. key is only useful for importing an existing database, by proposing a key choice.
|
_entries_get(self)Return the result set that contains all the entries.
|
| Property Details |
|---|
entries
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Wed Feb 15 23:19:37 2006 | http://epydoc.sf.net |