Package Pyblio :: Package Stores :: Module resultset :: Class ResultSet
[hide private]
[frames] | no frames]

Class ResultSet

source code

        object --+    
                 |    
   Store.ResultSet --+
                     |
        object --+   |
                 |   |
Callback.Publisher --+
                     |
                    ResultSet

Instance Methods [hide private]
 
__init__(self, rsid, db, contents=None)
Intialize the publisher
source code
 
view(self, criterion) source code
 
add(self, k)
Add a new item in the set.
source code
 
__delitem__(self, k)
Remove an item from the set.
source code
 
itervalues(self) source code
 
iteritems(self) source code
 
iterkeys(self) source code
 
__iter__(self) source code
 
__len__(self) source code
 
destroy(self)
Delete all the records contained in the result set.
source code
 
_from_array(self, contents) source code
 
_on_db_delete(self, k)
invoked when the database removes an item
source code
 
_on_db_update(self, k) source code

Inherited from Store.ResultSet: has_key, xmlwrite

Inherited from Callback.Publisher: emit, register, unregister

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, rsid, db, contents=None)
(Constructor)

source code 
Intialize the publisher
Overrides: Callback.Publisher.__init__
(inherited documentation)

view(self, criterion)

source code 
Overrides: Store.ResultSet.view

add(self, k)

source code 
Add a new item in the set.
Overrides: Store.ResultSet.add
(inherited documentation)

__delitem__(self, k)
(Index deletion operator)

source code 
Remove an item from the set.
Overrides: Store.ResultSet.__delitem__
(inherited documentation)

itervalues(self)

source code 
Overrides: Store.ResultSet.itervalues

iteritems(self)

source code 
Overrides: Store.ResultSet.iteritems

iterkeys(self)

source code 
Overrides: Store.ResultSet.iterkeys

__iter__(self)

source code 
Overrides: Store.ResultSet.__iter__

__len__(self)
(Length operator)

source code 
Overrides: Store.ResultSet.__len__

destroy(self)

source code 
Delete all the records contained in the result set.
Overrides: Store.ResultSet.destroy
(inherited documentation)