16.20 - getTraceObjectJavaTypeID() - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Advanced SQL Engine
Teradata Database
Release Number
Release Date
April 2020
Content Type
Programming Reference
Publication ID
English (United States)

Returns an integer value that the TraceObject uses to identify the type of object wrapped by the TraceObj object.

IF the object wrapped by the TraceObj object is a … THEN getTraceObjectJavaTypeID() returns …
java.lang.Integer TraceObj.INTEGER_J
java.lang.Byte TraceObj.BYTEINT_J
java.lang.Short TraceObj.SHORT_J
java.lang.Double TraceObj.DOUBLE_J
java.sql.Date TraceObj.SQLDATE_J
java.sql.Time TraceObj.SQLTIME_J
java.sql.Timestamp TraceObj.SQLTIMESTAMP_J
java.lang.Long TraceObj.LONG_J
byte[] TraceObj.BYTE_J
java.math.BigDecimal TraceObj.BIGDECIMAL_J
java.lang.String TraceObj.STRING_J