PartitionedTable's metadata methods
The PartitionedTable class has a handful of methods that return metadata about the PartitionedTable.
Examples on this page rely on the following code block:
constituent_changes_permitted
The constituent_changes_permitted method returns a boolean indicating whether the constituent tables can be changed.
Here is an example:
constituent_column
The constituent_column method returns the name of the column containing the constituent tables - __CONSTITUENT__.
Here is an example:
constituent_tables
The constituent_tables property returns a PartitionedTable's current constituent tables as a list of Table objects.
Here is an example:
constituent_table_columns
The constituent_table_columns method returns the column definitions of the constituent tables.
Note
All constituent tables in a PartitionedTable have the same column definitions.
Here is an example:
constituent_table_definition
The constituent_table_definition property returns a table definition that is either shared by, or mutually compatible with, all constituent tables of a PartitionedTable.
Note
Mutual compatibility means the returned definition's columns match each constituent's columns by name, data type, and component type — it does not guarantee identical storage or derivation details.
Here is an example:
is_refreshing
The is_refreshing method returns whether the PartitionedTable is refreshing.
Here is an example:
key_columns
The key_columns method returns the PartitionedTable's key column names.
Here is an example:
table
The table property returns the underlying Table of a PartitionedTable, whose rows contain the constituent tables and key values.
Here is an example:
unique_keys
The unique_keys method returns whether the PartitionedTable's keys are guaranteed to be unique.
Here is an example:
update_graph
The update_graph method returns the PartitionedTable's update graph.
Here is an example: