Package Pyblio :: Package Stores :: Package bsddbstore :: Class ResultSetStore
[hide private]
[frames] | no frames]

Class ResultSetStore

source code

          object --+    
                   |    
Store.ResultSetStore --+
                       |
                      ResultSetStore

Instance Methods [hide private]
 
__init__(self, _db, txn)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_close(self) source code
 
_save(self) source code
 
__getitem__(self, k) source code
 
__delitem__(self, k) source code
 
iteritems(self) source code
 
itervalues(self) source code
 
iterkeys(self) source code
 
__iter__(self) source code
 
new(self, rsid=None, txn=None)
Create an empty result set
source code
 
update(self, result_set, txn=None)
Use this to permanently store a ResultSet() in the database.
source code
 
_on_delete_item(self, key, txn) source code

Inherited from Store.ResultSetStore: add

Inherited from Store.ResultSetStore (private): _add_warn

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, _db, txn)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

__getitem__(self, k)
(Indexing operator)

source code 
Overrides: Store.ResultSetStore.__getitem__

__delitem__(self, k)
(Index deletion operator)

source code 
Overrides: Store.ResultSetStore.__delitem__

__iter__(self)

source code 
Overrides: Store.ResultSetStore.__iter__

new(self, rsid=None, txn=None)

source code 
Create an empty result set
Overrides: Store.ResultSetStore.new

update(self, result_set, txn=None)

source code 

Use this to permanently store a ResultSet() in the database.

Note: when a ResultSet object is modified, it is necessary to call db.rs.update(result_set) to store the updated version.
Overrides: Store.ResultSetStore.update
(inherited documentation)