For an introduction to the Java node, see the Java node help page.
This section is aimed at advanced users of the Java node. You can use the Java node to solve similar issues as the Python node. The Java node has better performance for large data sets compared to the Python node.
For information on the Java API, see the "laeJavaApi" Zip file which you will find in the following location: <Data360Analyze installation directory>/docs/lae
.
Example
JavaCode property
The following image highlights different pieces of functionality within the JavaCode property, illustrating how to structure the code:
1) Getting node properties via textual substitution, see Textual substitution of properties.
2) Java imports. You can add additional imports here as needed.
3) Class member variables.
4) Node process flow, see Setup.
5) Logging to the node log, see Logging and handling Java errors.
6) Getting node properties from Run Time Property Names, see Using Run Time Property Names.
7) Handling node inputs, see Finding input fields.
8) Node process flow, see Process All.
9) Handling node input, see Reading records.
10) Node process flow, see Cleanup.
11) Closing inputs and outputs, see Closing inputs and Closing outputs.
12) Getting node properties from Run Time Property Names, see Using Run Time Property Names.
13) Handling node output, see Setting output metadata.
14) Handling node output, see Opening outputs.
15) Handling node output, see Writing records.