Skip to content

TableOptimizer

Source code in docs_src/capo_glue/types/table_optimizer.py
class TableOptimizer(TypedDict, closed=True):
    type: NotRequired["capo_glue.types.table_optimizer_type.TableOptimizerType"]
    """<p>The type of table optimizer. The valid values are:</p> <ul> <li> <p> <code>compaction</code>: for managing compaction with a table optimizer.</p> </li> <li> <p> <code>retention</code>: for managing the retention of snapshot with a table optimizer.</p> </li> <li> <p> <code>orphan_file_deletion</code>: for managing the deletion of orphan files with a table optimizer.</p> </li> </ul>"""
    configuration: NotRequired[
        "capo_glue.types.table_optimizer_configuration.TableOptimizerConfiguration"
    ]
    """<p>A <code>TableOptimizerConfiguration</code> object that was specified when creating or updating a table optimizer.</p>"""
    last_run: NotRequired["capo_glue.types.table_optimizer_run.TableOptimizerRun"]
    """<p>A <code>TableOptimizerRun</code> object representing the last run of the table optimizer.</p>"""
    configuration_source: NotRequired[
        "capo_glue.types.configuration_source.ConfigurationSource"
    ]
    """<p> Specifies the source of the optimizer configuration. This indicates how the table optimizer was configured and which entity or service initiated the configuration. </p>"""

configuration instance-attribute

configuration: NotRequired[TableOptimizerConfiguration]

A TableOptimizerConfiguration object that was specified when creating or updating a table optimizer.

configuration_source instance-attribute

configuration_source: NotRequired[ConfigurationSource]

Specifies the source of the optimizer configuration. This indicates how the table optimizer was configured and which entity or service initiated the configuration.

last_run instance-attribute

last_run: NotRequired[TableOptimizerRun]

A TableOptimizerRun object representing the last run of the table optimizer.

type instance-attribute

type: NotRequired[TableOptimizerType]

The type of table optimizer. The valid values are:

  • compaction: for managing compaction with a table optimizer.

  • retention: for managing the retention of snapshot with a table optimizer.

  • orphan_file_deletion: for managing the deletion of orphan files with a table optimizer.