Java Snippet based Row Filter. Use the java editor to enter a boolean expression that is used to define whether an input row is passed to the output, whereby true defines a match, i.e. the current row is passed to the output. For instance, to filter for every other row, you could use an expression such as
return $$ROWINDEX$$ % 2 == 0;
This node supports missing values. If the corresponding check box is set missing values are represented as null values. If the check box is not set and the snippet accesses a field whose value is missing, the expression evaluates to false (no match). It also evaluates to false in case the snippet throws an exception (other than Abort ).
You can halt the entire execution by throwing an Abort exception such as throw new Abort(message); .