TalendDataGenerator routine - Cloud - 8.0

Talend Studio User Guide

Version
Cloud
8.0
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development
Last publication date
2024-02-29

The TalendDataGenerator routine contains several functions which allow you to generate sets of test data. These functions are based on fictitious lists of first names, second names, addresses, towns and States provided by Talend. They are generally used when developing Jobs, using a tRowGenerator component, for example, to avoid using production or company data.

You can access these functions by double-clicking the TalendDataGenerator node under the system routines folder in the Repository tree view.

Functions of the TalendDataGenerator routine

Function

Description

Syntax

getFirstName

returns a first name taken randomly from a fictitious list.

TalendDataGenerator.getFirstName()

getLastName

returns a random surname from a fictitious list.

TalendDataGenerator.getLastName()

getUsStreet

returns an address taken randomly from a list of common American street names.

TalendDataGenerator.getUsStreet()

getUsCity

returns the name of a town taken randomly from a list of American towns.

TalendDataGenerator.getUsCity()

getUsState

returns the name of a State taken randomly from a list of American States.

TalendDataGenerator.getUsState()

getUsStateId

returns an ID randomly taken from a list of IDs attributed to American States.

TalendDataGenerator.getUsStateId()

Note: No entry parameter is required as Talend provides the list of fictitious data.