The tables Module

Module to create list of tables from the Domain Data Model

class Table(schema: str, name: str, domain: Domain, domain_dict)[source]
add_master_columns()[source]
add_column_from_master(c: str)[source]
add_column_from_sql(identifier: Identifier)[source]
get_source_columns(identifier: Identifier) Set[str][source]
get_aggregation(schema: str, name: str, create_block: dict)[source]
is_downstream(predecessor: str)[source]
add_predecessors_for_column(c: str, lst: List)[source]
get_predecessors() List[source]
get_predecessors_for_column(column: str) List[source]
calculate_column_lineage(column: Column, graph: Graph)[source]
column_lineage_to_dot(column_name: str, out)[source]
describe_column_type(column: Column)[source]
describe_html(basedir) str[source]
html(of: str, svg=None)[source]
class Aggregation(schema: str, name: str, parent: str, columns: List, domain_dict)[source]
class Union(schema: str, tables: List[str], domain_dict)[source]
class Join(schema: str, s: str, domain_dict)[source]
class Relation(reltype: str, x: Table, y: Table, data=None)[source]
label()[source]
as_edge_attr() Dict[source]
to_dot()[source]