Package gavo :: Package grammars :: Module kvgrammar :: Class KVIterator
[frames] | no frames]

Class KVIterator

source code

        object --+        
                 |        
common.RowIterator --+    
                     |    
common.FileRowIterator --+
                         |
                        KVIterator

is an iterator over a file containing key, value pairs.

Depending on the parent grammar, it returns the whole k,v record as one row or one pair per row.

Instance Methods
 
getLocator(self) source code

Inherited from common.FileRowIterator: __init__

Inherited from common.RowIterator: __iter__, getParameters

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

Class Variables
  phase = '(nothing read yet)'

Inherited from common.RowIterator: notify

Properties

Inherited from common.RowIterator: recordNumber

Inherited from object: __class__

Method Details

getLocator(self)

source code 
Overrides: common.RowIterator.getLocator