DataQuality routines - 7.1

Talend Data Management Platform Studio User Guide

author
Talend Documentation Team
EnrichVersion
7.1
EnrichProdName
Talend Data Management Platform
task
Design and Development
EnrichPlatform
Talend Studio

About this task

DataQuality routines are portions of code that parse and clean your data. You can then use them in the settings of Data Quality components in a Talend Job.

To access these routines:

Procedure

In the Repository tree view of your Studio, expand Code > Routines > system and then double-click DataQuality.

Results

The table below gives a description of these routines:

Routine

Description

Syntax

getTitle

Returns the extracted title based on a list of provided titles.

DataQuality.getTitle

getNameWithoutTitle

Returns the string without the title.

DataQuality.getNameWithoutTitle

getNameWithoutSuffix

Returns the string without the suffix.

DataQuality.getNameWithoutSuffix

getLastName

Returns only LastName value from the string.

DataQuality.getLastName

getCleansedLastName

Returns the string without the title and suffix.

DataQuality.getCleansedLastName

isValidName

Returns true/false if the string is a valid/unvalid formed name respectively: [Initial] Firstname [Initial] Lastname.

DataQuality.isValidName