classAlterTablespaceInfoWithTablespaceNameAddTsDatafileAlterTablespaceOptionList_af59466d
final class AlterTablespaceInfoWithTablespaceNameAddTsDatafileAlterTablespaceOptionList_af59466d
implements AlterTablespaceInfoForm
uses Assertion
Public API: explicitly declared with
@visibility public.The alter_tablespace_info SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\AlterTablespaceInfoWithTablespaceNameAddTsDatafileAlterTablespaceOptionList_af59466d $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public TablespaceNameForm $tablespaceNamepublic TsDatafileForm $tsDatafilepublic AlterTablespaceOptionListForm $alterTablespaceOptionListpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public TablespaceNameForm $tablespaceName,
public TsDatafileForm $tsDatafile,
public AlterTablespaceOptionListForm $alterTablespaceOptionList,
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
$tablespaceName | TablespaceNameForm | |
$tsDatafile | TsDatafileForm | |
$alterTablespaceOptionList | AlterTablespaceOptionListForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 5
- method-call Writer::comments() line 38
- method-call TablespaceNameForm::write() line 39
- method-call Writer::append() line 41
- method-call TsDatafileForm::write() line 43
- method-call AlterTablespaceOptionListForm::write() line 45
public function withTablespaceName(TablespaceNameForm $tablespaceName): selfReturns a copy with a new tablespaceName, preserving every other field.
Parameters
$tablespaceName | TablespaceNameForm |
Returns
selfCalls 1
- new
selfline 53
public function withTsDatafile(TsDatafileForm $tsDatafile): selfReturns a copy with a new tsDatafile, preserving every other field.
Parameters
$tsDatafile | TsDatafileForm |
Returns
selfCalls 1
- new
selfline 61
public function withAlterTablespaceOptionList(AlterTablespaceOptionListForm $alterTablespaceOptionList): selfReturns a copy with a new alterTablespaceOptionList, preserving every other field.
Parameters
$alterTablespaceOptionList | AlterTablespaceOptionListForm |
Returns
selfCalls 1
- new
selfline 69