After the class is instantiated, the characteristics of the type can be set using the methods setPrecision, setScale, setDisplayLength, and so on. Calling these methods for types that do not support the specific method results in an exception. The com.teradata.fnc.TeradataType permits access to Teradata specific types.
Syntax
public ColumnDefinition(java.lang.String Name, int typeval)
Syntax Elements
- Name
- The name of the output column.
- typeval
- The java.sql.Type of the column.
Syntax
public ColumnDefinition(java.lang.String Name, com.teradata.fnc.TeradataType Type)
Syntax Elements
- Name
- The name of the output column.
- typeval
- The com.teradata.fnc.TeradataType of the column.