on 12-10-2007 11:07 AM
Hi,
I am writing very basic UDF in java - The code is
for (int i=0; i<a.length; i++)
{
for(int j=0; j<b.length; j++)
{
if(b[j] == a<i>)
result.addValue(c<i>);
}
}
But when i look at the queue of this function the output is suppressed and no element is created. The values for array a,b, and c are as follows -
a = 000010,000020 b = 000020, 000010,000010,000010,000010,000010,000010,000010
c = 2100,2100
When i try and execute same program in standalone java application with above constant array values i get the desired output. The same code dosent work in XI.
Anything wrong that you see here?
Thanks for you replies
Pavan
hi pavan,
use Advanced UDF to solve your problem
regards
nikhil bos
<i>**reward if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use Advanced UDF since you are using resultlist inorder to have either Queue or context in the output node.......
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.