Java Known Class Mappings - 6.3

Talend Data Mapper User Guide

Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
Design and Development
Talend Studio

This section gives the correspondence between known Java classes (such as String, Date) and the element data type.

The String and primitive numeric types correspond exactly to the element data types with the same name.

The java.util.Calendar class is a Date/Time and carries the timezone information. The only implementation class supported for this is java.util.GregorianCalendar. The java.util.Date class also is a Date/Time (but does not have the timezone information).

The java.sql.Date, java.sql.Time, and java.sql.Timestamp classes are manifested as a Date, Time and Date/Time respectively.

The java.util.List interface is generated as a loop of whatever type is specified for the list. The interface is implemented by java.util.ArrayList when emitting a Java object.

The java.util.Map interface is generated as a loop which contains two elements: a key element which is the key of the map entry, and a value element which supplies the value. These elements can be any support subclass of Java object. The java.util.Map interface is implemented by java.util.HashMap when emitting a Java object.