How to create a Sequence - 6.1

Talend Open Studio for Big Data User Guide

Version
6.1
Language
English (United States)
Product
Talend Open Studio for Big Data
Module
Talend Studio
Content
Design and Development

The sequence routine allows you to create automatically incremented IDs, using a tJava component:

System.out.println(Numeric.sequence("s1",1,1)); 
System.out.println(Numeric.sequence("s1",1,1));

The routine generates and increments the ID automatically: