classCreateWithCreateSpatialIndexSymIdentInitKeyOptionsOnTableIdentKeyListSpatialKeyOption_fccf64fb
final class CreateWithCreateSpatialIndexSymIdentInitKeyOptionsOnTableIdentKeyListSpatialKeyOption_fccf64fb
implements CreateForm, EvSqlStmtForm, EvSqlStmtInnerForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StatementForm, StoredRoutineBodyForm, VerbClauseForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The create SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\CreateWithCreateSpatialIndexSymIdentInitKeyOptionsOnTableIdentKeyListSpatialKeyOption_fccf64fb $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public SpatialForm $spatialpublic IdentForm $identpublic InitKeyOptionsForm $initKeyOptionspublic TableIdentForm $tableIdentpublic KeyListForm $keyListpublic SpatialKeyOptionsForm $spatialKeyOptionspublic OptIndexLockAlgorithmForm $optIndexLockAlgorithmpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public SpatialForm $spatial,
public IdentForm $ident,
public InitKeyOptionsForm $initKeyOptions,
public TableIdentForm $tableIdent,
public KeyListForm $keyList,
public SpatialKeyOptionsForm $spatialKeyOptions,
public OptIndexLockAlgorithmForm $optIndexLockAlgorithm,
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
$spatial | SpatialForm | |
$ident | IdentForm | |
$initKeyOptions | InitKeyOptionsForm | |
$tableIdent | TableIdentForm | |
$keyList | KeyListForm | |
$spatialKeyOptions | SpatialKeyOptionsForm | |
$optIndexLockAlgorithm | OptIndexLockAlgorithmForm | |
$comments | Comments |
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 9
- method-call Writer::comments() line 46
- method-call Writer::append() line 47
- method-call SpatialForm::write() line 49
- method-call IdentForm::write() line 53
- method-call InitKeyOptionsForm::write() line 55
- method-call TableIdentForm::write() line 59
- method-call KeyListForm::write() line 63
- method-call SpatialKeyOptionsForm::write() line 67
- method-call OptIndexLockAlgorithmForm::write() line 69
public function withSpatial(SpatialForm $spatial): selfReturns a copy with a new spatial, preserving every other field.
Parameters
$spatial | SpatialForm |
Returns
selfCalls 1
- new
selfline 77
public function withIdent(IdentForm $ident): selfpublic function withInitKeyOptions(InitKeyOptionsForm $initKeyOptions): selfReturns a copy with a new initKeyOptions, preserving every other field.
Parameters
$initKeyOptions | InitKeyOptionsForm |
Returns
selfCalls 1
- new
selfline 93
public function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 101
public function withKeyList(KeyListForm $keyList): selfReturns a copy with a new keyList, preserving every other field.
Parameters
$keyList | KeyListForm |
Returns
selfCalls 1
- new
selfline 109
public function withSpatialKeyOptions(SpatialKeyOptionsForm $spatialKeyOptions): selfReturns a copy with a new spatialKeyOptions, preserving every other field.
Parameters
$spatialKeyOptions | SpatialKeyOptionsForm |
Returns
selfCalls 1
- new
selfline 117
public function withOptIndexLockAlgorithm(OptIndexLockAlgorithmForm $optIndexLockAlgorithm): selfReturns a copy with a new optIndexLockAlgorithm, preserving every other field.
Parameters
$optIndexLockAlgorithm | OptIndexLockAlgorithmForm |
Returns
selfCalls 1
- new
selfline 125