Package gavo :: Package web :: Module producttar :: Class ColToRowIterator
[frames] | no frames]

Class ColToRowIterator

source code

                 object --+    
                          |    
grammars.common.RowIterator --+
                              |
                             ColToRowIterator

A RowIterator yielding several columns of a row as separate rows.

A hacky feature is that a ColToRowIterator will not return the same row twice. This is a convenience for TarMakers to keep them from tarring in identical files that somehow manage to be mentioned more than once in a result table.

Instance Methods
 
__init__(self, *args, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code

Inherited from grammars.common.RowIterator: __iter__, getLocator, getParameters

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

Class Variables

Inherited from grammars.common.RowIterator: notify

Properties

Inherited from grammars.common.RowIterator: recordNumber

Inherited from object: __class__

Method Details

__init__(self, *args, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)