tFileInputProperties properties - 6.3

Talend Open Studio for Big Data Components Reference Guide

EnrichVersion
6.3
EnrichProdName
Talend Open Studio for Big Data
task
Data Governance
Data Quality and Preparation
Design and Development
EnrichPlatform
Talend Studio

Component family

File/Input

 

Basic settings

Schema and Edit Schema

A schema is a row description, it defines the number of fields to be processed and passed on to the next component. The schema is either Built-in or stored remotely in the Repository.

For this component, the schema is read-only. It is made of two column, Key and Value, corresponding to the parameter name and the parameter value to be copied.

 

File format

Select from the list your file format, either: .properties or .ini.

 

 

.properties: data in the configuration file is written in two lines and structured according to the following way: key = value.

 

 

.ini: data in the configuration file is written in two lines and structured according to the following way: key = value and re-grouped in sections.

Section Name: enter the section name on which the iteration is based.

 

File Name

Name and path to the file to be created and/or the variable to be used.

For further information about how to define and use a variable, see Talend Studio User Guide.

 

Calculate MD5 Hash

Select this check box to verify that the file to be processed has been correctly downloaded.

Advanced settings

Encoding

Select the encoding type from the list or select Custom and define it manually. This field is compulsory for DB data handling.

 

tStatCatcher Statistics

Select this check box to gather the Job processing metadata at a Job level as well as at each component level.

Global Variables

NB_LINE: the number of rows processed. This is an After variable and it returns an integer.

ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box.

A Flow variable functions during the execution of a component while an After variable functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl + Space to access the variable list and choose the variable to use from it.

For further information about variables, see Talend Studio User Guide.

Usage

Use this component to read a text file and separate data according to the structure key = value.