Java filter
The Java filter step refines a transformation data stream using a Java expression to set up conditional processing.

As shown in the sample transformation above, the output stream from the Data grid step is processed by the Java filter step. Based on the specified condition, the Java filter step sends matching data to the true step and non-matching data to the false step.
The condition used in this sample transformation is:
Step name
Step name: Specifies the unique name of the step on the canvas. Default:
Java filter.
Options

Destination step for matching rows (optional)
Specify the name of the step to receive rows evaluated as matching by Condition (Java expression).
Destination step for non-matching rows (optional)
Specify the name of the step to receive rows evaluated as non-matching by Condition (Java expression).
Condition (Java expression)
Specify a Java expression for filtering the data. See Filter expression examples for examples.
Filter expression examples
The following examples show Java expressions that you can use in Condition (Java expression):
Filters a string that contains whitespace:
Filters a string that is identical to a constant string:
Filters a Boolean value:
Last updated
Was this helpful?

