tFileRowCount Standard properties - 7.3

tFileRowCount

Version
7.3
Language
English
Product
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 Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > File components (Integration) > File management components > tFileRowCount
Data Quality and Preparation > Third-party systems > File components (Integration) > File management components > tFileRowCount
Design and Development > Third-party systems > File components (Integration) > File management components > tFileRowCount
Last publication date
2024-02-21

These properties are used to configure tFileRowCount running in the Standard Job framework.

The Standard tFileRowCount component belongs to the File family.

The component in this framework is available in all Talend products.

Basic settings

File Name

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

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

Warning: Use absolute path (instead of relative path) for this field to avoid possible errors.

Row separator

String (ex: "\n"on Unix) to distinguish rows in the output file.

Ignore empty rows

Select this check box to ignore the empty rows while the component is counting the rows in the file.

Encoding

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

Advanced settings

tStatCatcher Statistics

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

Global Variables

Global Variables

COUNT: the number of rows in a file. This is a Flow 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

Usage rule

tFileRowCount is a standalone component, it must be used with a OnSubjobOk connection to tJava.

Connections

Outgoing links (from this component to another):

Row: Main; Iterate.

Trigger: On Subjob Ok; On Subjob Error; Run if; On Component Ok; On Component Error.

Incoming links (from one component to this one):

Row: Main; Reject; Iterate.

Trigger: On Subjob Ok; On Subjob Error; Run if; On component Ok; On Component Error; Synchronize; Parallelize.

For further information regarding connections, see Talend Studio User Guide.

Limitation

Due to license incompatibility, one or more JARs required to use this component are not provided. You can install the missing JARs for this particular component by clicking the Install button on the Component tab view. You can also find out and add all missing JARs easily on the Modules tab in the Integration perspective of your studio. For details, see Installing external modules. You can find more details about how to install external modules in Talend Help Center (https://help.talend.com).