#include <Ccdb_ResultSetColumnMetaData.h>
A ResultSetColumnMetaData object can be used to find out about the types and properties of a column in a ResultSet.
- Since
- Version 1.0
◆ ResultSetColumnMetaData()
| dbSpaces::dbcli::ResultSetColumnMetaData::ResultSetColumnMetaData |
( |
| ) |
|
|
protected |
◆ ~ResultSetColumnMetaData()
| virtual dbSpaces::dbcli::ResultSetColumnMetaData::~ResultSetColumnMetaData |
( |
| ) |
|
|
virtual |
◆ GetCatalogName()
| const dtSTRING * dbSpaces::dbcli::ResultSetColumnMetaData::GetCatalogName |
( |
| ) |
|
Get the catalog name for the ResultSet column.
- Returns
- The catalog name.
- Since
- Version 1.0
◆ GetColumnName()
| const dtSTRING * dbSpaces::dbcli::ResultSetColumnMetaData::GetColumnName |
( |
| ) |
|
Get the column name for the ResultSet column.
- Returns
- The column name.
- Since
- Version 1.0
◆ GetDisplaySize()
| const dtLARGE dbSpaces::dbcli::ResultSetColumnMetaData::GetDisplaySize |
( |
| ) |
|
Get the display Size for the ResultSet column.
- Returns
- The display size.
- Since
- Version 1.0
◆ GetMultiValues()
| const dtLARGE dbSpaces::dbcli::ResultSetColumnMetaData::GetMultiValues |
( |
| ) |
|
Get the number of multi-values (array size) for the column.
- Returns
- The number of multi-values.
- Since
- Version 1.0
◆ GetOrdinalPosition()
| const dtULARGE dbSpaces::dbcli::ResultSetColumnMetaData::GetOrdinalPosition |
( |
| ) |
|
Get the column's position in the ResultSet.
- Returns
- The column ordinal position.
- Since
- Version 1.0
◆ GetPrecision()
| const dtUHUGE dbSpaces::dbcli::ResultSetColumnMetaData::GetPrecision |
( |
| ) |
|
Get the Precision value for the ResultSet column. Precision is the number of digits in a number.
- Returns
- The column precision.
- Since
- Version 1.0
◆ GetQualifiedName()
| const dtSTRING * dbSpaces::dbcli::ResultSetColumnMetaData::GetQualifiedName |
( |
| ) |
|
Get the qualified name for the ResultSet column. The qualified name consists of the table name and the column name separated by a full stop.
- Returns
- The qualified name.
- Since
- Version 1.0
◆ GetRemark()
| const dtSTRING * dbSpaces::dbcli::ResultSetColumnMetaData::GetRemark |
( |
| ) |
|
Get the remark (description) for the ResultSet column.
- Returns
- The column remark.
- Since
- Version 1.0
◆ GetScale()
| const dtUSMALL dbSpaces::dbcli::ResultSetColumnMetaData::GetScale |
( |
| ) |
|
Get the Scale value for the ResultSet column. Scale is the number of digits to the right of the decimal point in a number.
- Returns
- The column scale
- Since
- Version 1.0
◆ GetSchemaName()
| const dtSTRING * dbSpaces::dbcli::ResultSetColumnMetaData::GetSchemaName |
( |
| ) |
|
Get the schema name for the ResultSet column.
- Returns
- The schema name.
- Since
- Version 1.0
◆ GetSearchable()
| const dtLARGE dbSpaces::dbcli::ResultSetColumnMetaData::GetSearchable |
( |
| ) |
|
Get the searchable attribute for the ResultSet column. The following are possible values that can be returned;
-
0 - SQL_UNSEARCHABLE
-
1 - SQL_LIKE_ONLY
-
2 - SQL_ALL_EXCEPT_LIKE
-
3 - SQL_SEARCHABLE
- Returns
- The searchable attribute.
- Since
- Version 1.0
◆ GetSqlTypeID()
| const dtLARGE dbSpaces::dbcli::ResultSetColumnMetaData::GetSqlTypeID |
( |
| ) |
|
Get the SQL data type ID for the ResultSet column.
- Returns
- The SQL data type ID.
- Since
- Version 1.0
◆ GetSqlTypeName()
| const dtSTRING * dbSpaces::dbcli::ResultSetColumnMetaData::GetSqlTypeName |
( |
| ) |
|
Get the SQL data type name for the ResultSet column.
- Returns
- The SQL data type name.
- Since
- Version 1.0
◆ GetStorageClass()
| const dtUTINY dbSpaces::dbcli::ResultSetColumnMetaData::GetStorageClass |
( |
| ) |
|
Get the System Storage Class for the ResultSet column.
- Returns
- The storage class.
- Since
- Version 1.0
◆ GetStorageSize()
| const dtUHUGE dbSpaces::dbcli::ResultSetColumnMetaData::GetStorageSize |
( |
| ) |
|
Get the System Storage Size for the ResultSet column.
- Returns
- The storage size.
- Since
- Version 1.0
◆ GetTableName()
| const dtSTRING * dbSpaces::dbcli::ResultSetColumnMetaData::GetTableName |
( |
| ) |
|
Get the table name for the ResultSet column.
- Returns
- The table name.
- Since
- Version 1.0
◆ GetUpdatable()
| const dtLARGE dbSpaces::dbcli::ResultSetColumnMetaData::GetUpdatable |
( |
| ) |
|
Get the updatable attribute for the ResultSet column. The following are possible values that can be returned:
-
0 - SQL_ATTR_READONLY
-
1 - SQL_ATTR_WRITE
-
2 - SQL_ATTR_READWRITE_UNKNOWN
- Returns
- The updatable attribute.
- Since
- Version 1.0
◆ IsAutoIncrement()
| const dtBOOLEAN dbSpaces::dbcli::ResultSetColumnMetaData::IsAutoIncrement |
( |
| ) |
|
Checks if the ResultSet column is is automatically numbered.
- Returns
TRUE for auto increment type; FALSE if otherwise.
- Since
- Version 1.0
◆ IsCurrency()
| const dtBOOLEAN dbSpaces::dbcli::ResultSetColumnMetaData::IsCurrency |
( |
| ) |
|
Checks if the ResultSet column is of the type currency/money.
- Returns
TRUE if a currency type; FALSE if otherwise.
- Since
- Version 1.0
◆ IsNullable()
| const dtBOOLEAN dbSpaces::dbcli::ResultSetColumnMetaData::IsNullable |
( |
| ) |
|
Checks if the ResultSet column is nullable.
- Returns
TRUE if nullable; FALSE if otherwise.
- Since
- Version 1.0
◆ IsSigned()
| const dtBOOLEAN dbSpaces::dbcli::ResultSetColumnMetaData::IsSigned |
( |
| ) |
|
Checks if the ResultSet column is signed.
- Returns
TRUE if signed; FALSE if otherwise.
- Since
- Version 1.0
◆ IsValidColumn()
| const dtBOOLEAN dbSpaces::dbcli::ResultSetColumnMetaData::IsValidColumn |
( |
| ) |
const |