Relational Routines - 6.2

Talend Open Studio for Big Data User Guide

EnrichVersion
6.2
EnrichProdName
Talend Open Studio for Big Data
task
Design and Development
EnrichPlatform
Talend Studio

Relational routines allow you to check affirmations based on booleans.

To access these routines, double click on the Relational class under the system folder. The Relational class contains several routines, notably:

Routine

Description

Syntax

ISNULL

Checks if the variable provided is a null value.

Relational.ISNULL(variable to be checked)

To check a Relational Routine, you can use the ISNULL routine, along with a tJava component, for example:

String str = null;
System.out.println(Relational.ISNULL(str));

In this example, the test result is displayed in the Run view: