tlc.core.objects.tables.from_table.virtual_columns_added_table#

Module Contents#

Classes#

Class

Description

VirtualColumn

Defines a single column within a VirtualColumnsAddedTable

VirtualColumnsAddedTable

A procedural table where an input table are augmented by virtual columns (i.e. virtual properties) according to user-configurable procedures.

API#

class tlc.core.objects.tables.from_table.virtual_columns_added_table.VirtualColumn(schema_expression: str = '', value_expression: str = '')#

Bases: abc.ABC

Defines a single column within a VirtualColumnsAddedTable

static schema() tlc.core.schema.Schema#

Defines the schema for a single virtual column

class tlc.core.objects.tables.from_table.virtual_columns_added_table.VirtualColumnsAddedTable(url: tlc.core.url.Url | None = None, created: str | None = None, dataset_name: str | None = None, row_cache_url: tlc.core.url.Url | None = None, row_cache_populated: bool = False, virtual_columns: list[tlc.core.objects.tables.from_table.virtual_columns_added_table.VirtualColumn] | None = None, init_parameters: Any = None)#

Bases: tlc.core.objects.table.Table

A procedural table where an input table are augmented by virtual columns (i.e. virtual properties) according to user-configurable procedures.

Parameters:
  • url – The URL of the table.

  • created – The creation time of the table.

  • description – The description of the table.

  • row_cache_url – The URL of the row cache.

  • row_cache_populated – Whether the row cache is populated.

  • override_table_rows_schema – The schema to override the table rows schema.

  • init_parameters – The initial parameters of the table.

  • input_tables – A list of Table URLs that are considered direct predecessors in this table’s lineage. This parameter serves as an explicit mechanism for tracking table relationships beyond the automatic lineage tracing typically managed by subclasses.