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 method returns a PartitionedTable's constituent tables as a list of strings.

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:

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:

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: