Represents the a Column definition on a result.
More...
Represents the a Column definition on a result.
◆ get_schema_name()
Retrieves the name of the Schema where the column is defined.
- Returns
- a string value representing the owner schema.
◆ get_table_name()
Retrieves table name where the column is defined.
- Returns
- a string value representing the table name.
◆ get_table_label()
Retrieves table alias where the column is defined.
- Returns
- a string value representing the table alias or the table name if no alias is defined.
◆ get_column_name()
Retrieves column name.
- Returns
- a string value representing the column name.
◆ get_column_label()
Retrieves column alias.
- Returns
- a string value representing the column alias or the column name if no alias is defined.
◆ get_type()
Retrieves column Type.
- Returns
- a constant value for the supported column types.
◆ get_length()
Retrieves column length.
- Returns
- the column length.
◆ get_fractional_digits()
int get_fractional_digits |
( |
| ) |
|
|
inline |
Retrieves the fractional digits if applicable.
- Returns
- the number of fractional digits, this only applies to specific data types.
◆ is_number_signed()
bool is_number_signed |
( |
| ) |
|
|
inline |
Indicates if a numeric column is signed.
- Returns
- a boolean indicating whether a numeric column is signed or not.
◆ get_collation_name()
str get_collation_name |
( |
| ) |
|
|
inline |
Retrieves the collation name.
- Returns
- a String representing the collation name, aplicable only to specific data types.
◆ get_character_setName()
str get_character_setName |
( |
| ) |
|
|
inline |
Retrieves the character set name.
- Returns
- a String representing the character set name, aplicable only to specific data types.
◆ is_zero_fill()
Indicates if zerofill is set for the column.
- Returns
- a boolean indicating if zerofill flag is set for the column.
◆ get_flags()
Retrieves a space separated list of database flags.
- Returns
- a space separated list of database flags set for the column.