enumIndexAlgorithm
enum IndexAlgorithm: string
Public API: explicitly declared with
@visibility public.The index structure requested by USING: BTREE, RTREE or HASH.
Each case holds the keywords it is written with. Source: https://dev.mysql.com/doc/refman/8.4/en/create-index.html#create-index-storage-engine-index-types.
\SqlSemantics\Platform\MySql\Statement\Table\Key\IndexAlgorithm::Hash->value // => 'HASH'Cases§
case Btree = 'BTREE'case Rtree = 'RTREE'case Hash = 'HASH'Test cases 7§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 6
IndexRuleTest::testStructureLowersTheClauseBeforeOncallsKeyOptionRuleTest::testAlgorithmLowersTheStructureClausecallsKeyOptionRuleTest::testNameAndTypeLowersTheNameAndTheStructurecallsKeyOptionRuleTest::testStructureLowersTheKeywordcallsIndexDefinitionTest::testDeriveElementDerivesTheKeyPartscallsIndexUsingTest::testRenderWritesTheOptioncalls
Relations§
Constant reads 6
- class-const SqlSemantics\Platform\MySql\Lowering\TableDefinition\Key\KeyOptionRule packages/sql-semantics-mysql/src/Lowering/TableDefinition/Key/KeyOptionRule.php:46
- class-const SqlSemantics\Platform\MySql\Lowering\TableDefinition\Key\KeyOptionRule packages/sql-semantics-mysql/src/Lowering/TableDefinition/Key/KeyOptionRule.php:46
- class-const SqlSemantics\Platform\MySql\Lowering\TableDefinition\Key\KeyOptionRule packages/sql-semantics-mysql/src/Lowering/TableDefinition/Key/KeyOptionRule.php:46
- class-const SqlSemantics\Platform\MySql\Lowering\TableDefinition\Key\KeyOptionRule packages/sql-semantics-mysql/src/Lowering/TableDefinition/Key/KeyOptionRule.php:47
- class-const SqlSemantics\Platform\MySql\Lowering\TableDefinition\Key\KeyOptionRule packages/sql-semantics-mysql/src/Lowering/TableDefinition/Key/KeyOptionRule.php:47
- class-const SqlSemantics\Platform\MySql\Lowering\TableDefinition\Key\KeyOptionRule packages/sql-semantics-mysql/src/Lowering/TableDefinition/Key/KeyOptionRule.php:47
Type declarations 8
- type SqlSemantics\Platform\MySql\Lowering\TableDefinition\IndexRule packages/sql-semantics-mysql/src/Lowering/TableDefinition/IndexRule.php:87
- type SqlSemantics\Platform\MySql\Lowering\TableDefinition\Key\KeyOptionRule packages/sql-semantics-mysql/src/Lowering/TableDefinition/Key/KeyOptionRule.php:93
- type SqlSemantics\Platform\MySql\Lowering\TableDefinition\Key\KeyOptionRule packages/sql-semantics-mysql/src/Lowering/TableDefinition/Key/KeyOptionRule.php:113
- type SqlSemantics\Platform\MySql\Lowering\TableDefinition\Key\KeyOptionRule packages/sql-semantics-mysql/src/Lowering/TableDefinition/Key/KeyOptionRule.php:143
- type SqlSemantics\Platform\MySql\Lowering\TableDefinition\Key\KeyRule packages/sql-semantics-mysql/src/Lowering/TableDefinition/Key/KeyRule.php:132
- type SqlSemantics\Platform\MySql\Statement\Table\CreateIndex packages/sql-semantics-mysql/src/Statement/Table/CreateIndex.php:83
- type SqlSemantics\Platform\MySql\Statement\Table\Key\IndexDefinition packages/sql-semantics-mysql/src/Statement/Table/Key/IndexDefinition.php:62
- type SqlSemantics\Platform\MySql\Statement\Table\Key\Option\IndexUsing packages/sql-semantics-mysql/src/Statement/Table/Key/Option/IndexUsing.php:28