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

The options of a partition or subpartition definition, by the keywords they are written with.

TABLESPACE and ENGINE take a name, NODEGROUP, MAX_ROWS and MIN_ROWS a number, DATA DIRECTORY, INDEX DIRECTORY and COMMENT a string. The optional STORAGE before ENGINE does not change the option. Source: https://dev.mysql.com/doc/refman/8.4/en/create-table.html#create-table-partitioning.

Reading the keywords of a casedoctest
\SqlSemantics\Platform\MySql\Statement\Partition\PartitionOptionKind::DataDirectory->value // => 'DATA DIRECTORY'

Cases§

case Tablespace = 'TABLESPACE'
case Engine = 'ENGINE'
case NodeGroup = 'NODEGROUP'
case MaxRows = 'MAX_ROWS'
case MinRows = 'MIN_ROWS'
case DataDirectory = 'DATA DIRECTORY'
case IndexDirectory = 'INDEX DIRECTORY'
case Comment = 'COMMENT'

Methods§

Test cases 2§

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

Dedicated tests 2

Relations§

Method calls 2
Constant reads 17
Type declarations 1