The following node is available in the Open Source KNIME predictive analytics and data mining platform version 2.7.1. Discover over 1000 other nodes, as well as enterprise functionality at http://knime.com.
Java IF Switch on tables. Use the java editor to enter an expression that returns 0 or 1 (int) to indicate which of the two output branches the input should be directed to.
Note that any other result value (neither 0 nor 1) will result in an error.
0 | Input variables (optional). |
0 | Output port that contains the input data if the result of the expression is 0 (otherwise) this branch is inactive. |
1 | Output port that contains the input data if the result of the expression is 1 (otherwise) this branch is inactive. |