Skip to content

ColumnMetadata

pixeltable.ColumnMetadata

Metadata for a column of a Pixeltable table.

computed_with instance-attribute

computed_with: str | None

Expression used to compute this column; None if this is not a computed column.

defined_in instance-attribute

defined_in: str | None

Name of the table where this column was originally defined.

If the current table is a view, then defined_in may differ from the current table name.

is_primary_key instance-attribute

is_primary_key: bool

True if this column is part of the table's primary key.

is_stored instance-attribute

is_stored: bool

True if this is a stored column; False if it is dynamically computed.

media_validation instance-attribute

media_validation: Literal['on_read', 'on_write'] | None

The media validation policy for this column.

name instance-attribute

name: str

The name of the column.

type_ instance-attribute

type_: str

The type specifier of the column.

version_added instance-attribute

version_added: int

The table version when this column was added.