Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
tjavrow -> main ->tfilterrow ->main -> outcomponent
|rej
outcomponent
edit schema of tjavarow and add a boolean type column and set the flag to 1 if condition/conditions are met and verify the condition:
If(condition)
out_row.flag=1;
else
out_row.flag=0;
((input_row.variableContent.length())==
(40*Integer.parseInt(input_row.nb_animals)
+6*Integer.parseInt(input_row.nb_cats)
+22*Integer.parseInt(input_row.nb_dogs)))
Hi,
If I understood this right, you want to count the number of lines rejected and the number of lines accepted(which pass schema check) right?
And don't ever use tJava connected by rows as the code is executed before the rows even start.