enumPartitionOptionKind
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.
\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§
public function named(): boolTells whether the option takes a name.
Returns
boolCalled from 1
Calls 2
- class-const PartitionOptionKind::Tablespace() line 35
- class-const PartitionOptionKind::Engine() line 35
public function numbered(): boolTells whether the option takes a number.
Returns
boolCalled from 1
Calls 3
- class-const PartitionOptionKind::NodeGroup() line 43
- class-const PartitionOptionKind::MaxRows() line 43
- class-const PartitionOptionKind::MinRows() line 43
Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Relations§
Method calls 2
- method-call SqlSemantics\Platform\MySql\Statement\Partition\PartitionOption::__construct() packages/sql-semantics-mysql/src/Statement/Partition/PartitionOption.php:46
- method-call SqlSemantics\Platform\MySql\Statement\Partition\PartitionOption::__construct() packages/sql-semantics-mysql/src/Statement/Partition/PartitionOption.php:46
Constant reads 17
- class-const SqlSemantics\Platform\MySql\Lowering\TableChange\Partition\OptionRule packages/sql-semantics-mysql/src/Lowering/TableChange/Partition/OptionRule.php:33
- class-const SqlSemantics\Platform\MySql\Lowering\TableChange\Partition\OptionRule packages/sql-semantics-mysql/src/Lowering/TableChange/Partition/OptionRule.php:34
- class-const SqlSemantics\Platform\MySql\Lowering\TableChange\Partition\OptionRule packages/sql-semantics-mysql/src/Lowering/TableChange/Partition/OptionRule.php:35
- class-const SqlSemantics\Platform\MySql\Lowering\TableChange\Partition\OptionRule packages/sql-semantics-mysql/src/Lowering/TableChange/Partition/OptionRule.php:36
- class-const SqlSemantics\Platform\MySql\Lowering\TableChange\Partition\OptionRule packages/sql-semantics-mysql/src/Lowering/TableChange/Partition/OptionRule.php:37
- class-const SqlSemantics\Platform\MySql\Lowering\TableChange\Partition\OptionRule packages/sql-semantics-mysql/src/Lowering/TableChange/Partition/OptionRule.php:38
- class-const SqlSemantics\Platform\MySql\Lowering\TableChange\Partition\OptionRule packages/sql-semantics-mysql/src/Lowering/TableChange/Partition/OptionRule.php:39
- class-const SqlSemantics\Platform\MySql\Lowering\TableChange\Partition\OptionRule packages/sql-semantics-mysql/src/Lowering/TableChange/Partition/OptionRule.php:40
- class-const SqlSemantics\Platform\MySql\Lowering\TableChange\Partition\OptionRule packages/sql-semantics-mysql/src/Lowering/TableChange/Partition/OptionRule.php:41
- class-const SqlSemantics\Platform\MySql\Lowering\TableChange\Partition\OptionRule packages/sql-semantics-mysql/src/Lowering/TableChange/Partition/OptionRule.php:42
- class-const SqlSemantics\Platform\MySql\Lowering\TableChange\Partition\OptionRule packages/sql-semantics-mysql/src/Lowering/TableChange/Partition/OptionRule.php:43
- class-const SqlSemantics\Platform\MySql\Lowering\TableChange\Partition\OptionRule packages/sql-semantics-mysql/src/Lowering/TableChange/Partition/OptionRule.php:44
- class-const SqlSemantics\Platform\MySql\Lowering\TableChange\Partition\OptionRule packages/sql-semantics-mysql/src/Lowering/TableChange/Partition/OptionRule.php:45
- class-const SqlSemantics\Platform\MySql\Lowering\TableChange\Partition\OptionRule packages/sql-semantics-mysql/src/Lowering/TableChange/Partition/OptionRule.php:46
- class-const SqlSemantics\Platform\MySql\Lowering\TableChange\Partition\OptionRule packages/sql-semantics-mysql/src/Lowering/TableChange/Partition/OptionRule.php:47
- class-const SqlSemantics\Platform\MySql\Lowering\TableChange\Partition\OptionRule packages/sql-semantics-mysql/src/Lowering/TableChange/Partition/OptionRule.php:48
- class-const SqlSemantics\Platform\MySql\Lowering\TableChange\Partition\OptionRule packages/sql-semantics-mysql/src/Lowering/TableChange/Partition/OptionRule.php:49