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

Class diff

source code

          object --+        
                   |        
              signal --+    
                       |    
control.sleep'.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]
 
__copy__(self) source code
 
__init__(self, keys, name='component.process.diff', transformer=None, row_limit=0)
Required Parameters keys : Keys for differentiating.
source code
 
key_get(self, row) source code
 
process(self)
Process method of ETL component.
source code

Inherited from control.sleep'.component: __str__, channel_get, copy, end, error, generator_get, get_trigger_data, input_get, is_end, is_start, pause, start, stop, warning

Inherited from signal: signal, signal_connect, signal_unconnect

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__copy__(self)

source code 
Overrides: control.sleep'.component.__copy__

__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.
Overrides: control.sleep'.component.__init__

process(self)

source code 
Process method of ETL component.
Overrides: control.sleep'.component.process
(inherited documentation)