When you create a Java transformation, you define its type as active or passive.
After you set the transformation type, you cannot change it.
A Java transformation runs the Java code that you define on the
On Input
On Input Row
tab one time for each row of input data.
A Java transformation handles output rows based on the transformation type as follows:
A passive Java transformation generates one output row for each input row in the transformation after processing each input row.
An active Java transformation generates multiple output rows for each input row in the transformation.
Use the generateRow method to generate each output row. For example, if the transformation contains two input ports that represent a start date and an end date, you can use the generateRow method to generate an output row for each date between the start date and the end date.