When you create a Java transformation, you define the behavior as active or passive. Define the behavior on the
Advanced
tab.
A Java transformation runs the Java code that you define in the On Input Row section of the Java editor one time for each row of input data.
A Java transformation handles output rows based on the behavior as follows:
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, the transformation contains two input fields 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.
A passive Java transformation generates one output row for each input row in the transformation after processing each input row.
You can change the transformation behavior. However, when you change the behavior, you must recompile the Java code.