logalyzer.database.DTK(object) class documentation
Part of logalyzer.database
(View In Hierarchy)
I maintain a CPU-efficient but somewhat memory expensive lookup tree for datetime objects.
| Method | __init__ | Undocumented |
| Method | __len__ | Undocumented |
| Method | isPending | Undocumented |
| Method | load | Load a list of datetime objects or rows whose first element is a datetime object. |
| Method | check | Check the specified datetime object, returning True if it's
in my lookup tree. |
| Method | set | Sets an entry in my lookup tree for the specified datetime object. |
| Method | _uniterator | Iterates over values for each time unit of the supplied datetime object, yielding an integer number of positions to the last time unit and the value for that time unit. |
def
load(self, rows):
Load a list of datetime objects or rows whose first element is a datetime object.