classCreateIndexStmtWithCreateFulltextSymIndexSymIdentOnSymTableIdentKeyListWithExpressionOptFullte_2d5d6d89
final class CreateIndexStmtWithCreateFulltextSymIndexSymIdentOnSymTableIdentKeyListWithExpressionOptFullte_2d5d6d89
implements CreateIndexStmtForm, EvSqlStmtForm, EvSqlStmtInnerForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StoredRoutineBodyForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The create_index_stmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\CreateIndexStmtWithCreateFulltextSymIndexSymIdentOnSymTableIdentKeyListWithExpressionOptFullte_2d5d6d89 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public IdentForm $identpublic TableIdentForm $tableIdentpublic KeyListWithExpressionForm $keyListWithExpressionpublic OptFulltextIndexOptionsForm $optFulltextIndexOptionspublic OptIndexLockAndAlgorithmForm $optIndexLockAndAlgorithmpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public IdentForm $ident,
public TableIdentForm $tableIdent,
public KeyListWithExpressionForm $keyListWithExpression,
public OptFulltextIndexOptionsForm $optFulltextIndexOptions,
public OptIndexLockAndAlgorithmForm $optIndexLockAndAlgorithm,
public Comments $comments = new \SqlSemantics\Statement\Comments(),
)Supplies the SQL values of this form; comments are kept by the position of the symbol each precedes.
Parameters
$ident | IdentForm | |
$tableIdent | TableIdentForm | |
$keyListWithExpression | KeyListWithExpressionForm | |
$optFulltextIndexOptions | OptFulltextIndexOptionsForm | |
$optIndexLockAndAlgorithm | OptIndexLockAndAlgorithmForm | |
$comments | Comments |
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 7
- method-call Writer::comments() line 42
- method-call Writer::append() line 43
- method-call IdentForm::write() line 49
- method-call TableIdentForm::write() line 53
- method-call KeyListWithExpressionForm::write() line 57
- method-call OptFulltextIndexOptionsForm::write() line 61
- method-call OptIndexLockAndAlgorithmForm::write() line 63
public function withIdent(IdentForm $ident): selfpublic function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 79
public function withKeyListWithExpression(KeyListWithExpressionForm $keyListWithExpression): selfReturns a copy with a new keyListWithExpression, preserving every other field.
Parameters
$keyListWithExpression | KeyListWithExpressionForm |
Returns
selfCalls 1
- new
selfline 87
public function withOptFulltextIndexOptions(OptFulltextIndexOptionsForm $optFulltextIndexOptions): selfReturns a copy with a new optFulltextIndexOptions, preserving every other field.
Parameters
$optFulltextIndexOptions | OptFulltextIndexOptionsForm |
Returns
selfCalls 1
- new
selfline 95
public function withOptIndexLockAndAlgorithm(OptIndexLockAndAlgorithmForm $optIndexLockAndAlgorithm): selfReturns a copy with a new optIndexLockAndAlgorithm, preserving every other field.
Parameters
$optIndexLockAndAlgorithm | OptIndexLockAndAlgorithmForm |
Returns
selfCalls 1
- new
selfline 103