You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

hi!
i'm trying to reach the rows that contains my tArray by tJava component cuz i want to manipulate some rows on it.
my job is something like this:
tMysqlInput_1------------------->tArray_1
| Main
|
| OnSubjobOK
|
|
|
|
tArrayIn_1
|
| Main
|
|
|
tJava_1
what should i put in my tJava in order to reach the data that contains my tArray_1???
Regards.
Offline
Hello
The tArray/tArrayIn/tSortIn are the virtual components. They are hidden in Talend by default. Go to Windows-->Preference-->Talend-->Designer and check the 'Display hidden components' option to display them.
In fact, tArray+tSortIn=tSortRow
tArray: store the data in memory without sorting them.
tArrayIn: read the data from memory without sorting them.
tSortIn: sort the data in memory and read them.
so, using tArray and tArrayIn in a job is useless.
Here comes a Perl scenario:
Input file:
2;shong
3;Elise
1;Mhirt
4;Plegall
Result:
Starting job HHH at 13:46 08/04/2008. 1|Mhirt 2|shong 3|Elise 4|Plegall Job HHH ended at 13:46 08/04/2008. [exit code=0]
From this case, we can see that tArray+tSortIn=tSortRow.
Best regards
shong
Offline
shong wrote:
Hello
The tArray/tArrayIn/tSortIn are the virtual components. They are hidden in Talend by default. Go to Windows-->Preference-->Talend-->Designer and check the 'Display hidden components' option to display them.
Shong,
I'm trying to follow this hint in TOS Version: 2.4.0, Build id: r14858-20080606-1850. I can't find the option you mentioned. Did it move somewhere else?
Best regards
Jerry
Hello
Did it move somewhere else?
Yes, this option have been removed from Preference, you can add it from the 'project setting' panel. (see the screenshot)
Best regards
shong
Offline
but how can you access the data stored in tArray using tJava?
Pages: 1