Retrieving the different ages and lowest age data - 7.0

tMemorizeRows

author
Talend Documentation Team
EnrichVersion
7.0
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 > Misc components > tMemorizeRows
Data Quality and Preparation > Third-party systems > Misc components > tMemorizeRows
Design and Development > Third-party systems > Misc components > tMemorizeRows
EnrichPlatform
Talend Studio

This scenario displays the number of occurrences of different ages and the lowest age within a group of customers. In this scenario, the customer data is entered manually.

For more technologies supported by Talend, see Talend components.

You will see two ways to handle this data with the tMemorizeRows:

  • Inside the same subjob (with the tJavaFlex)

  • Outside the tMemorizeRows subjob (with the tJava)

This Job uses five components:

  • tFixedFlowInput: it contains rows of customer data such as IDs, names and ages of the customers.

  • tSortRow: it sorts the rows according to the age data.

  • tMemorizeRows: it temporarily memorizes a specific number of incoming data rows at any given time and indexes the memorized data rows.

  • tJavaFlex: it compares the age values of the data memorized by the preceding component, counts the occurrences of different ages and displays these ages in the Run view.

  • tJava: it displays the number of occurrences of different ages and the lowest age.

To replicate this scenario, proceed as follows: