interfacePartitioning
interface Partitioning
extends Node
The partitioning of a table: PARTITION BY with its function, columns, counts and partition definitions.
CREATE TABLE and ALTER TABLE hold it. The statement that holds it derives it in the scope of the table it partitions. Source: https://dev.mysql.com/doc/refman/8.4/en/partitioning.html.
Methods§
public function derivePartitioning(Derivation $derivation, Environment $scope): voidDerives the expressions of the partitioning: the partitioning functions in the scope of the table, the partition values as constants.
Parameters
$derivation | Derivation | The derivation of the statement that holds the partitioning |
$scope | Environment | The scope whose only visible relation is the partitioned table |
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§
Implemented by 1
Method calls 1
Type declarations 5
- type SqlSemantics\Platform\MySql\Lowering\TableChange\TableChangeRules packages/sql-semantics-mysql/src/Lowering/TableChange/TableChangeRules.php:68
- type SqlSemantics\Platform\MySql\Lowering\TableDefinition\CreateTableRule packages/sql-semantics-mysql/src/Lowering/TableDefinition/CreateTableRule.php:100
- type SqlSemantics\Platform\MySql\Rules\TableChange\PartitionFacts packages/sql-semantics-mysql/src/Rules/TableChange/PartitionFacts.php:30
- type SqlSemantics\Platform\MySql\Rules\TableDefinition\EnclosedQuery packages/sql-semantics-mysql/src/Rules/TableDefinition/EnclosedQuery.php:59
- type SqlSemantics\Platform\MySql\Statement\Table\CreateTable packages/sql-semantics-mysql/src/Statement/Table/CreateTable.php:85