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

Class csv_in

source code

etl.component.component --+
                          |
                         csv_in


This is an ETL Component that is used to read data from csv file. Its type is data component.
Its computing peformance is streamline.
It has two flows
    Input Flows    : 0.
    * .*           : Nothing.
    Output Flows   : 0-x.
    * .*           : Returns the main flow with data from csv file.



Instance Methods [hide private]
 
__init__(self, fileconnector, csv_params={}, name='component.input.csv_in', transformer=None, row_limit=0)
Required Parameters fileconnector : Localfile connector.
source code
 
__copy__(self) source code
 
end(self) source code
 
process(self) source code
Method Details [hide private]

__init__(self, fileconnector, csv_params={}, name='component.input.csv_in', transformer=None, row_limit=0)
(Constructor)

source code 

Required Parameters fileconnector : Localfile connector.

Extra Parameters name : Name of Component. transformer : Transformer object to transform string data into particular object. row_limit : Limited records are sent to destination if row limit is specified. If row limit is 0, all records are sent. csv_param : To specify other csv parameter like fieldnames , restkey , restval etc.