How Java Code Generated Talend en
How Java Code Generated Talend en
This document explain how Talend make Java Code A talend Job have some Flow/Process/subJob
JAVA = the main Java Class have the name of the job Subjobs are linked by trigger link
Subjob/Process
onSubjobOK
Subjob/Process
onSubjobOK
Subjob/Process
For each Trigger Link, a subjob is created
Slide 2
Main
Main
Main
Subjobs components are linked by main, Iterate, or table link Main link become a lookup link if there are two or more link to a component Main link could be rename (ex tUniqueRow : Unique and Duplicate link) Table link is used to create a cluster component
Slide 3
Component
Slide 4
Component type
BEGIN
Input component
BEGIN
BEGIN
Virtual component
MAIN
MAIN
MAIN
END
END
END
BEGIN
Output component
MAIN
END
BEGIN
Process component
MAIN
END
Slide 5
Main output
BEGIN
BEGIN
BEGIN
MAIN
MAIN
MAIN
END
END
END
While loop
Slide 6
Main process
Main output
BEGIN
MAIN
BEGIN
BEGIN
BEGIN
MAIN
MAIN
MAIN
END
END
END
END
Slide 7
Input
BEGIN
BEGIN
MAIN
MAIN
END
END
Hash loader
BEGIN BEGIN MAIN MAIN MAIN END END END
call
BEGIN
Slide 8
tSort Output
tSort Input
BEGIN
BEGIN
MAIN
MAIN
END
END
BEGIN
BEGIN
MAIN
MAIN
END
END
Slide 9
Input
BEGIN
BEGIN
BEGIN
BEGIN
MAIN
MAIN
MAIN
MAIN
END
BEGIN
MAIN
MAIN
MAIN
MAIN
END
Slide 10
tReplicate
Main
tMap
Main
output
input
tReplicate
Main tMap
Main output
BEGIN
BEGIN
BEGIN
BEGIN
BEGIN
BEGIN
MAIN
MAIN
MAIN
MAIN
MAIN
MAIN
END
END
END
END
END
END
Slide 11
Links
Flow Link Main Iterate Table Trigger Link Subjob onSubjobOK onSubjobError Component onComponentOK onComponentError Run-If parallelize synchronize Lookup, merge
Slide 12