etl :: component :: transform :: diff :: diff :: Class diff
[hide private]
[frames] | no frames]

Class diff

source code

etl.component.component --+
                          |
                         diff

This is an ETL Component that finds difference. Takes 2 flows in input and detect a difference between these two flows using computed keys (based on data records) to compare elements that may not have to be in the same order.

Type : Data Component. Computing Performance : Semi-Streamline. Input Flows : 2. * main : The main flow. * .* : The second flow. Output Flows : 0-x. * same : Returns all elements that are the same in both input flows. * updated : Returns all updated elements * removed : Returns all elements that where in main and not in the second flow. * added : Returns all elements from the second flow that are not in the main channel.

Instance Methods [hide private]
 
__init__(self, keys, name='component.process.diff', transformer=None, row_limit=0)
Required Parameters keys : Keys for differentiating.
source code
 
__copy__(self) source code
 
key_get(self, row) source code
 
process(self) source code
Method Details [hide private]

__init__(self, keys, name='component.process.diff', transformer=None, row_limit=0)
(Constructor)

source code 

Required Parameters keys : Keys for differentiating.

Extra Parameters name : Name of Component.