Package amplee :: Package indexer :: Class EditedIndex
[hide private]
[frames] | no frames]

Class EditedIndex

source code

object --+        
         |        
 BaseIndex --+    
             |    
     DateIndex --+
                 |
                EditedIndex

Instance Methods [hide private]
 
__init__(self, name, container=None, granularity=None)
Base class for date based inde handlers.
source code

Inherited from DateIndex: between, ibetween, prune, update

Inherited from BaseIndex: clear, iiterindex, iload, iterindex, keys, load, store

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

Class Methods [hide private]

Inherited from DateIndex: day, hour, minute, month, year

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, container=None, granularity=None)
(Constructor)

source code 

Base class for date based inde handlers.

Parameters:
  • name - an internal identifier used to reference the indexer.
  • target - qualified XML name of the element within the atom entry to search for.
  • container - instance of a class implementing the dictionnary interface.
  • granularity - one of the classmethods of this class that indicates what will be the granularity of the key of the index. The lower the finer but also the more keys you will have. It defaults to hour.
Overrides: object.__init__
(inherited documentation)