Package vinzclortho :: Module store :: Class Store
[hide private]
[frames] | no frames]

Class Store

source code

object --+
         |
        Store
Known Subclasses:

Base class for stores.

Instance Methods [hide private]
 
put(self, key, value) source code
 
get(self, key) source code
 
delete(self, key) source code
 
get_iterator(self)
Does not need to return an actual iterator, just something that iterate can recognize.
source code
 
iterate(self, iterator, threshold)
Iterates over keys/values starting at iterator, until threshold bytes are accumulated.
source code
 
multi_put(self, kvlist, resolver) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

iterate(self, iterator, threshold)

source code 

Iterates over keys/values starting at iterator, until threshold bytes are accumulated.

Parameters:
  • iterator - Something that can describe the current position
  • threshold - How many bytes to accumulate before returning