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

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1147-171K
Language
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