Defining the properties of tJavaRow
Procedure
- Select the tJavaRow component to define its properties.
- In the Basic settings tab, click the [...] button next to Edit schema to define the schema.
- Click the [+] button to add a column to the input schema on the left, of type String, rename it outputKey, copy it to the output schema on the right, and then click OK.
- Add the following code in the Code section.String actualOutput = out.outputKey; System.out.println("======" + actualOutput + "======");