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

Class DictStore

source code

object --+    
         |    
     Store --+
             |
            DictStore

Basic in-memory store.

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
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

Inherited from Store: multi_put

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

put(self, key, value)

source code 
Overrides: Store.put

get(self, key)

source code 
Overrides: Store.get

delete(self, key)

source code 
Overrides: Store.delete

get_iterator(self)

source code 

Does not need to return an actual iterator, just something that iterate can recognize.

Overrides: Store.get_iterator
(inherited documentation)

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
Overrides: Store.iterate
(inherited documentation)