Configuring the input and output components - 6.5

Java custom code

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Custom code components (Integration) > Java custom code components
Data Quality and Preparation > Third-party systems > Custom code components (Integration) > Java custom code components
Design and Development > Third-party systems > Custom code components (Integration) > Java custom code components
EnrichPlatform
Talend Studio

Procedure

  1. Double-click the tFileInputDelimited component, which is labeled Source, to display its Basic settings view.
    Warning:

    The dynamic schema feature is only supported in Built-In mode and requires the input file to have a header row.

  2. In the File name/Stream field, type in the path to the input file in double quotation marks, or browse to the path by clicking the [...] button.
  3. In the Header field, type in 1 to define the first line of the file as the header.
  4. Click the [...] button next to Edit schema to open the [Schema] dialog box.
  5. Click the [+] button to add a column, give a name to the column, dyna in this example, and select Dynamic from the Type list. This dynamic column will retrieve the three columns, FirstName, LastName and Address, of the input file.
  6. Click OK to validate the setting and close the dialog box.
  7. Double-click the tFileOutputDelimited component, which is labeled Target, to display its Basic settings view.
  8. Define the output file path in the File Name field.
  9. Select the Include Header check box to include the header in the output file. Leave all the other settings are they are.