classCreateStmtWithCreateOptTempTableIfPNotExistsQualifiedNameOptTableElementListOptInheritOpt_fa259f14
final class CreateStmtWithCreateOptTempTableIfPNotExistsQualifiedNameOptTableElementListOptInheritOpt_fa259f14
implements CreateStmtForm, ParseToplevelForm, RoutineBodyStmtForm, SchemaStmtForm, StmtForm, StmtmultiForm, ToplevelStmtForm, Command
uses Assertion
@visibility public.The CreateStmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\CreateStmtWithCreateOptTempTableIfPNotExistsQualifiedNameOptTableElementListOptInheritOpt_fa259f14 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptTempForm $optTemppublic QualifiedNameForm $qualifiedNamepublic OptTableElementListForm $optTableElementListpublic OptInheritForm $optInheritpublic OptPartitionSpecForm $optPartitionSpecpublic TableAccessMethodClauseForm $tableAccessMethodClausepublic OptWithForm $optWithpublic OnCommitOptionForm $onCommitOptionpublic OptTableSpaceForm $optTableSpacepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptTempForm $optTemp,
public QualifiedNameForm $qualifiedName,
public OptTableElementListForm $optTableElementList,
public OptInheritForm $optInherit,
public OptPartitionSpecForm $optPartitionSpec,
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
$optTemp | OptTempForm | |
$qualifiedName | QualifiedNameForm | |
$optTableElementList | OptTableElementListForm | |
$optInherit | OptInheritForm | |
$optPartitionSpec | OptPartitionSpecForm | |
$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 11
- method-call Writer::comments() line 50
- method-call Writer::append() line 51
- method-call OptTempForm::write() line 53
- method-call QualifiedNameForm::write() line 63
- method-call OptTableElementListForm::write() line 67
- method-call OptInheritForm::write() line 71
- method-call OptPartitionSpecForm::write() line 73
- method-call TableAccessMethodClauseForm::write() line 75
- method-call OptWithForm::write() line 77
- method-call OnCommitOptionForm::write() line 79
- method-call OptTableSpaceForm::write() line 81
public function withOptTemp(OptTempForm $optTemp): selfReturns a copy with a new optTemp, preserving every other field.
Parameters
$optTemp | OptTempForm |
Returns
selfCalls 1
- new
selfline 89
public function withQualifiedName(QualifiedNameForm $qualifiedName): selfReturns a copy with a new qualifiedName, preserving every other field.
Parameters
$qualifiedName | QualifiedNameForm |
Returns
selfCalls 1
- new
selfline 97
public function withOptTableElementList(OptTableElementListForm $optTableElementList): selfReturns a copy with a new optTableElementList, preserving every other field.
Parameters
$optTableElementList | OptTableElementListForm |
Returns
selfCalls 1
- new
selfline 105
public function withOptInherit(OptInheritForm $optInherit): selfReturns a copy with a new optInherit, preserving every other field.
Parameters
$optInherit | OptInheritForm |
Returns
selfCalls 1
- new
selfline 113
public function withOptPartitionSpec(OptPartitionSpecForm $optPartitionSpec): selfReturns a copy with a new optPartitionSpec, preserving every other field.
Parameters
$optPartitionSpec | OptPartitionSpecForm |
Returns
selfCalls 1
- new
selfline 121
public function withTableAccessMethodClause(TableAccessMethodClauseForm $tableAccessMethodClause): selfReturns a copy with a new tableAccessMethodClause, preserving every other field.
Parameters
$tableAccessMethodClause | TableAccessMethodClauseForm |
Returns
selfCalls 1
- new
selfline 129
public function withOptWith(OptWithForm $optWith): selfReturns a copy with a new optWith, preserving every other field.
Parameters
$optWith | OptWithForm |
Returns
selfCalls 1
- new
selfline 137
public function withOnCommitOption(OnCommitOptionForm $onCommitOption): selfReturns a copy with a new onCommitOption, preserving every other field.
Parameters
$onCommitOption | OnCommitOptionForm |
Returns
selfCalls 1
- new
selfline 145
public function withOptTableSpace(OptTableSpaceForm $optTableSpace): selfReturns a copy with a new optTableSpace, preserving every other field.
Parameters
$optTableSpace | OptTableSpaceForm |
Returns
selfCalls 1
- new
selfline 153