Skip to content

ColumnMetadata

Source code in docs_src/capo_redshift_data/types/column_metadata.py
class ColumnMetadata(TypedDict, closed=True):
    is_case_sensitive: "capo_redshift_data.types.bool.bool"
    """<p>A value that indicates whether the column is case-sensitive. </p>"""
    is_currency: "capo_redshift_data.types.bool.bool"
    """<p>A value that indicates whether the column contains currency values.</p>"""
    is_signed: "capo_redshift_data.types.bool.bool"
    """<p>A value that indicates whether an integer column is signed.</p>"""
    label: NotRequired["capo_redshift_data.types.string.String"]
    """<p>The label for the column. </p>"""
    name: NotRequired["capo_redshift_data.types.string.String"]
    """<p>The name of the column. </p>"""
    nullable: "capo_redshift_data.types.integer.Integer"
    """<p>A value that indicates whether the column is nullable. </p>"""
    precision: "capo_redshift_data.types.integer.Integer"
    """<p>The precision value of a decimal number column, or the column length for a non-numeric column. </p>"""
    scale: "capo_redshift_data.types.integer.Integer"
    """<p>The scale value of a decimal number column. </p>"""
    schema_name: NotRequired["capo_redshift_data.types.string.String"]
    """<p>The name of the schema that contains the table that includes the column.</p>"""
    table_name: NotRequired["capo_redshift_data.types.string.String"]
    """<p>The name of the table that includes the column. </p>"""
    type_name: NotRequired["capo_redshift_data.types.string.String"]
    """<p>The database-specific data type of the column. </p>"""
    length: "capo_redshift_data.types.integer.Integer"
    """<p>The length of the column.</p>"""
    column_default: NotRequired["capo_redshift_data.types.string.String"]
    """<p>The default value of the column. </p>"""

column_default instance-attribute

column_default: NotRequired[String]

The default value of the column.

is_case_sensitive instance-attribute

is_case_sensitive: bool

A value that indicates whether the column is case-sensitive.

is_currency instance-attribute

is_currency: bool

A value that indicates whether the column contains currency values.

is_signed instance-attribute

is_signed: bool

A value that indicates whether an integer column is signed.

label instance-attribute

label: NotRequired[String]

The label for the column.

length instance-attribute

length: Integer

The length of the column.

name instance-attribute

name: NotRequired[String]

The name of the column.

nullable instance-attribute

nullable: Integer

A value that indicates whether the column is nullable.

precision instance-attribute

precision: Integer

The precision value of a decimal number column, or the column length for a non-numeric column.

scale instance-attribute

scale: Integer

The scale value of a decimal number column.

schema_name instance-attribute

schema_name: NotRequired[String]

The name of the schema that contains the table that includes the column.

table_name instance-attribute

table_name: NotRequired[String]

The name of the table that includes the column.

type_name instance-attribute

type_name: NotRequired[String]

The database-specific data type of the column.