classCreateAsTargetWithQualifiedNameOptColumnListTableAccessMethodClauseOptWithOnCommitOptionOptTa_cee3248c
final class CreateAsTargetWithQualifiedNameOptColumnListTableAccessMethodClauseOptWithOnCommitOptionOptTa_cee3248c
implements CreateAsTargetForm
uses Assertion
Public API: explicitly declared with
@visibility public.The create_as_target SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\CreateAsTargetWithQualifiedNameOptColumnListTableAccessMethodClauseOptWithOnCommitOptionOptTa_cee3248c $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public QualifiedNameForm $qualifiedNamepublic OptColumnListForm $optColumnListpublic TableAccessMethodClauseForm $tableAccessMethodClausepublic OptWithForm $optWithpublic OnCommitOptionForm $onCommitOptionpublic OptTableSpaceForm $optTableSpacepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public QualifiedNameForm $qualifiedName,
public OptColumnListForm $optColumnList,
public TableAccessMethodClauseForm $tableAccessMethodClause,
public OptWithForm $optWith,
public OnCommitOptionForm $onCommitOption,
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 | |
$optWith | OptWithForm | |
$onCommitOption | OnCommitOptionForm | |
$optTableSpace | OptTableSpaceForm | |
$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 44
- method-call QualifiedNameForm::write() line 45
- method-call OptColumnListForm::write() line 47
- method-call TableAccessMethodClauseForm::write() line 49
- method-call OptWithForm::write() line 51
- method-call OnCommitOptionForm::write() line 53
- method-call OptTableSpaceForm::write() line 55
public function withQualifiedName(QualifiedNameForm $qualifiedName): selfReturns a copy with a new qualifiedName, preserving every other field.
Parameters
$qualifiedName | QualifiedNameForm |
Returns
selfCalls 1
- new
selfline 63
public function withOptColumnList(OptColumnListForm $optColumnList): selfReturns a copy with a new optColumnList, preserving every other field.
Parameters
$optColumnList | OptColumnListForm |
Returns
selfCalls 1
- new
selfline 71
public function withTableAccessMethodClause(TableAccessMethodClauseForm $tableAccessMethodClause): selfReturns a copy with a new tableAccessMethodClause, preserving every other field.
Parameters
$tableAccessMethodClause | TableAccessMethodClauseForm |
Returns
selfCalls 1
- new
selfline 79
public function withOptWith(OptWithForm $optWith): selfReturns a copy with a new optWith, preserving every other field.
Parameters
$optWith | OptWithForm |
Returns
selfCalls 1
- new
selfline 87
public function withOnCommitOption(OnCommitOptionForm $onCommitOption): selfReturns a copy with a new onCommitOption, preserving every other field.
Parameters
$onCommitOption | OnCommitOptionForm |
Returns
selfCalls 1
- new
selfline 95
public function withOptTableSpace(OptTableSpaceForm $optTableSpace): selfReturns a copy with a new optTableSpace, preserving every other field.
Parameters
$optTableSpace | OptTableSpaceForm |
Returns
selfCalls 1
- new
selfline 103