classCreateMvTargetWithQualifiedNameOptColumnListTableAccessMethodClauseOptReloptionsOptTableSpace_48fc435e
final class CreateMvTargetWithQualifiedNameOptColumnListTableAccessMethodClauseOptReloptionsOptTableSpace_48fc435e
implements CreateMvTargetForm
uses Assertion
Public API: explicitly declared with
@visibility public.The create_mv_target SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\CreateMvTargetWithQualifiedNameOptColumnListTableAccessMethodClauseOptReloptionsOptTableSpace_48fc435e $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public QualifiedNameForm $qualifiedNamepublic OptColumnListForm $optColumnListpublic TableAccessMethodClauseForm $tableAccessMethodClausepublic OptReloptionsForm $optReloptionspublic OptTableSpaceForm $optTableSpacepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public QualifiedNameForm $qualifiedName,
public OptColumnListForm $optColumnList,
public TableAccessMethodClauseForm $tableAccessMethodClause,
public OptReloptionsForm $optReloptions,
public OptTableSpaceForm $optTableSpace,
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
$qualifiedName | QualifiedNameForm | |
$optColumnList | OptColumnListForm | |
$tableAccessMethodClause | TableAccessMethodClauseForm | |
$optReloptions | OptReloptionsForm | |
$optTableSpace | OptTableSpaceForm | |
$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 42
- method-call QualifiedNameForm::write() line 43
- method-call OptColumnListForm::write() line 45
- method-call TableAccessMethodClauseForm::write() line 47
- method-call OptReloptionsForm::write() line 49
- method-call OptTableSpaceForm::write() line 51
public function withQualifiedName(QualifiedNameForm $qualifiedName): selfReturns a copy with a new qualifiedName, preserving every other field.
Parameters
$qualifiedName | QualifiedNameForm |
Returns
selfCalls 1
- new
selfline 59
public function withOptColumnList(OptColumnListForm $optColumnList): selfReturns a copy with a new optColumnList, preserving every other field.
Parameters
$optColumnList | OptColumnListForm |
Returns
selfCalls 1
- new
selfline 67
public function withTableAccessMethodClause(TableAccessMethodClauseForm $tableAccessMethodClause): selfReturns a copy with a new tableAccessMethodClause, preserving every other field.
Parameters
$tableAccessMethodClause | TableAccessMethodClauseForm |
Returns
selfCalls 1
- new
selfline 75
public function withOptReloptions(OptReloptionsForm $optReloptions): selfReturns a copy with a new optReloptions, preserving every other field.
Parameters
$optReloptions | OptReloptionsForm |
Returns
selfCalls 1
- new
selfline 83
public function withOptTableSpace(OptTableSpaceForm $optTableSpace): selfReturns a copy with a new optTableSpace, preserving every other field.
Parameters
$optTableSpace | OptTableSpaceForm |
Returns
selfCalls 1
- new
selfline 91