enum MaintenanceKind: string
Public API: explicitly declared with @visibility public.

The maintenance operations ALTER TABLE runs on selected partitions.

Mirrors the subclasses of PT_alter_table_partition_list_or_all. CHECK takes check options, REPAIR repair options; CHECK and TRUNCATE take no NO_WRITE_TO_BINLOG. Source: https://dev.mysql.com/doc/refman/8.4/en/partitioning-maintenance.html.

Reading the keyword of a casedoctest
\SqlSemantics\Platform\MySql\Statement\Alter\Partition\MaintenanceKind::Rebuild->value // => 'REBUILD'

Cases§

case Rebuild = 'REBUILD'
case Optimize = 'OPTIMIZE'
case Analyze = 'ANALYZE'
case Check = 'CHECK'
case Repair = 'REPAIR'
case Truncate = 'TRUNCATE'

Methods§

Test cases 1§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1

Relations§

Method calls 1
Constant reads 20
Type declarations 1