TTCatalogColumn Reference
Each TTCatalogTable
object contains an array of TTCatalogColumn
objects and an array of TTCatalogIndex
objects.
Public Methods
This section summarizes then describes the TTCatalogColumn
public methods.
Public Methods Summary
Method | Description |
---|---|
Return the name of the column. |
|
Returns an integer representing the ODBC SQL data type of the column. |
|
Returns the length of the column, in bytes. |
|
Indicates whether the column can contain |
|
Returns the precision of the column. |
|
Returns the radix of the column. |
|
Returns the scale of the column. |
|
Returns the TimesTen name for the type returned by |
getColumnName()
const char* getColumnName()
Returns the name of the column.
getDataType()
int getDataType()
Returns an integer representing the data type of the column. This is the standard ODBC SQL type code or a TimesTen extension type code.
getLength()
int getLength()
Returns the length of data in the column, in bytes.
getNullable()
int getNullable()
Indicates whether the column can contain NULL
values. It returns SQL_NO_NULLS
, SQL_NULLABLE
, or SQL_NULLABLE_UNKNOWN
.
getPrecision()
int getPrecision()
Returns the precision of data in the column, referring to the maximum number of digits that are used by the data type.
getRadix()
int getRadix()
Returns the radix of the column, according to ODBC SQLColumns
function output.
getScale()
int getScale()
Returns the scale of data in the column, which is the maximum number of digits to the right of the decimal point.
getTypeName()
const char* getTypeName()
Returns the TimesTen name of the type returned by getDataType()
.