Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tJava tArray

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.
Labels (3)
5 Replies
Anonymous
Not applicable
Author

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 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.


From this case, we can see that tArray+tSortIn=tSortRow.
Best regards
shong
0683p000009MC0v.png0683p000009MByK.png0683p000009MBkw.png0683p000009MBqG.png0683p000009MBq2.png

_AnonymousUser
Specialist III
Specialist III

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
Anonymous
Not applicable
Author

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
0683p000009MBsd.png
_AnonymousUser
Specialist III
Specialist III

but how can you access the data stored in tArray using tJava?
_AnonymousUser
Specialist III
Specialist III

but how can you access the data stored in tArray using tJava?

Exactly my question as well.