classSubpartitionDefinition
final class SubpartitionDefinition
implements Node
uses Snapshot
Public API: explicitly declared with
@visibility public.SUBPARTITION name [options]: one subpartition of a partition definition.
Mirrors PT_subpartition. The name may be written as an identifier or a string; both name the subpartition. Source: https://dev.mysql.com/doc/refman/8.4/en/partitioning-subpartitions.html.
(new \SqlSemantics\Platform\MySql\Statement\Partition\SubpartitionDefinition(new \SqlSemantics\Platform\MySql\Model\Statement\Identifier\Name('s0'), []))->name->value // => 's0'Properties§
public list<PartitionOption> $optionspublic Name $nameMethods§
public function __construct(public Name $name, list<PartitionOption> $options)Parameters
$name | Name | The subpartition name |
$options | list<PartitionOption> | The options in order |
Calls 2
- static-call Check::listOf() line 40
- class-const PartitionOption::class() line 40
public function render(Output $out): voidWrites the definition.
Parameters
$out | Output |
Calls 3
- method-call Output::keyword() line 48
- class-const NameUse::Label() line 48
- method-call Output::node() line 50
Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.