classCreateTableSpaceStmtWithCreateTablespaceNameOptTableSpaceOwnerLocationSconstOptReloptions_8ee493fd
final class CreateTableSpaceStmtWithCreateTablespaceNameOptTableSpaceOwnerLocationSconstOptReloptions_8ee493fd
implements CreateTableSpaceStmtForm, ParseToplevelForm, RoutineBodyStmtForm, StmtForm, StmtmultiForm, ToplevelStmtForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The CreateTableSpaceStmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\CreateTableSpaceStmtWithCreateTablespaceNameOptTableSpaceOwnerLocationSconstOptReloptions_8ee493fd $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public NameForm $namepublic OptTableSpaceOwnerForm $optTableSpaceOwnerpublic SconstForm $sconstpublic OptReloptionsForm $optReloptionspublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public NameForm $name,
public OptTableSpaceOwnerForm $optTableSpaceOwner,
public SconstForm $sconst,
public OptReloptionsForm $optReloptions,
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
$name | NameForm | |
$optTableSpaceOwner | OptTableSpaceOwnerForm | |
$sconst | SconstForm | |
$optReloptions | OptReloptionsForm | |
$comments | Comments |
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 6
- method-call Writer::comments() line 40
- method-call Writer::append() line 41
- method-call NameForm::write() line 45
- method-call OptTableSpaceOwnerForm::write() line 47
- method-call SconstForm::write() line 51
- method-call OptReloptionsForm::write() line 53
public function withName(NameForm $name): selfpublic function withOptTableSpaceOwner(OptTableSpaceOwnerForm $optTableSpaceOwner): selfReturns a copy with a new optTableSpaceOwner, preserving every other field.
Parameters
$optTableSpaceOwner | OptTableSpaceOwnerForm |
Returns
selfCalls 1
- new
selfline 69
public function withSconst(SconstForm $sconst): selfReturns a copy with a new sconst, preserving every other field.
Parameters
$sconst | SconstForm |
Returns
selfCalls 1
- new
selfline 77
public function withOptReloptions(OptReloptionsForm $optReloptions): selfReturns a copy with a new optReloptions, preserving every other field.
Parameters
$optReloptions | OptReloptionsForm |
Returns
selfCalls 1
- new
selfline 85