Hub
Pricing About
NodeNode / Manipulator

Java IF (Table)

Workflow ControlSwitches
Drag & drop
Like

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.

Node details

Input ports
  1. Type: Table
    Input data
    Input variables (optional).
Output ports
  1. Type: Table
    0 output
    Output port that contains the input data if the result of the expression is 0 (otherwise) this branch is inactive.
  2. Type: Table
    1 output
    Output port that contains the input data if the result of the expression is 1 (otherwise) this branch is inactive.

Extension

The Java IF (Table) node is part of this extension:

  1. Go to item

Related workflows & nodes

  1. Go to item
  2. Go to item
  3. Go to item

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits