Demo Work with Java Programming - pm4knime/pm4knime-document GitHub Wiki

KNIME allows the scripting of multiple programming, which provides more functionality in flexible ways. In this section, Java Programming in KNIME is explored with the goal, to add category into the Data Table.

https://github.com/pm4knime/pm4knime-document/blob/master/images/demo-advanced-java-programming.PNG

One concrete workflow is created based on the following steps. image

  1. Download the dataset chapter_1 from the github link and extract to get the CSV file running-example.csv.
  2. Import CSV into KNIME with node CSV Reader.
  3. Use node Java Snippet to add a category to the Data table.
  • Search and drag the node Java Snippet to KNIME. The node enables the java programming in KNIME through the provided data access panel. Do remember the operation iterates on each row. More description is shown on the right panel when clicking on the node. Besides the description, one tutorial in video can be accessed with the link.
  • Configure it with the settings. image
  • Execute the node and get the result image