August 15, 2023

Scenario: Retrieving the different ages and lowest age data – Docs for ESB 6.x

Scenario: Retrieving the different ages and lowest age data

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.

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)

Use_Case_tMemorizeRows1.png

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:


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x