Writing a file to MySQL if the number of its records matches a reference value - 7.2

tFileRowCount

author
Talend Documentation Team
EnrichVersion
7.2
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 Real-Time Big Data Platform
task
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
EnrichPlatform
Talend Studio

In this scenario, tFileRowCount counts the number of records in a .txt file, which is compared against a reference value through tJava. Once the two values match, the .txt file will be written to a MySQL table.

For more technologies supported by Talend, see Talend components.

The .txt file has two records:

1;andy
2;mike