etl :: component :: input :: sql_in :: sql_in :: Class sql_in
[hide private]
[frames] | no frames]

Class sql_in

source code

etl.component.component --+
                          |
                         sql_in

This is an ETL Component that is used to read data from SQL database.

Type : Data Component. Computing Performance : Streamline. Input Flows : 0. * .* : Nothing. Output Flows : 0-x. * .* : Returns the main flow with data from csv file.

Instance Methods [hide private]
 
__init__(self, sqlconnector, sqlquery, name='component.input.sql_in', transformer=None, row_limit=0)
Required Parameters sqlconnector : SQLconnector connector.
source code
 
__copy__(self) source code
 
end(self) source code
 
process(self) source code
Method Details [hide private]

__init__(self, sqlconnector, sqlquery, name='component.input.sql_in', transformer=None, row_limit=0)
(Constructor)

source code 

Required Parameters sqlconnector : SQLconnector connector. sqlquery : SQL Query

Extra Parameters name : Name of Component. transformer : Transformer object to transform string data into particular type. row_limit : Limited records are sent to destination if row limit is specified. If row limit is 0, all records are sent.