classIndexStmtWithCreateOptUniqueIndexOptConcurrentlyIfPNotExistsNameOnRelationExprAccessMeth_6a1d0de6
final class IndexStmtWithCreateOptUniqueIndexOptConcurrentlyIfPNotExistsNameOnRelationExprAccessMeth_6a1d0de6
implements IndexStmtForm, ParseToplevelForm, RoutineBodyStmtForm, SchemaStmtForm, StmtForm, StmtmultiForm, ToplevelStmtForm, Command
uses Assertion
@visibility public.The IndexStmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\IndexStmtWithCreateOptUniqueIndexOptConcurrentlyIfPNotExistsNameOnRelationExprAccessMeth_6a1d0de6 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptUniqueForm $optUniquepublic OptConcurrentlyForm $optConcurrentlypublic NameForm $namepublic RelationExprForm $relationExprpublic AccessMethodClauseForm $accessMethodClausepublic IndexParamsForm $indexParamspublic OptIncludeForm $optIncludepublic OptUniqueNullTreatmentForm $optUniqueNullTreatmentpublic OptReloptionsForm $optReloptionspublic OptTableSpaceForm $optTableSpacepublic WhereClauseForm $wherepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptUniqueForm $optUnique,
public OptConcurrentlyForm $optConcurrently,
public NameForm $name,
public RelationExprForm $relationExpr,
public AccessMethodClauseForm $accessMethodClause,
public IndexParamsForm $indexParams,
public OptIncludeForm $optInclude,
public OptUniqueNullTreatmentForm $optUniqueNullTreatment,
public OptReloptionsForm $optReloptions,
public OptTableSpaceForm $optTableSpace,
public WhereClauseForm $where,
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
$optUnique | OptUniqueForm | |
$optConcurrently | OptConcurrentlyForm | |
$name | NameForm | |
$relationExpr | RelationExprForm | |
$accessMethodClause | AccessMethodClauseForm | |
$indexParams | IndexParamsForm | |
$optInclude | OptIncludeForm | |
$optUniqueNullTreatment | OptUniqueNullTreatmentForm | |
$optReloptions | OptReloptionsForm | |
$optTableSpace | OptTableSpaceForm | |
$where | WhereClauseForm | |
$comments | Comments |
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 13
- method-call Writer::comments() line 54
- method-call Writer::append() line 55
- method-call OptUniqueForm::write() line 57
- method-call OptConcurrentlyForm::write() line 61
- method-call NameForm::write() line 69
- method-call RelationExprForm::write() line 73
- method-call AccessMethodClauseForm::write() line 75
- method-call IndexParamsForm::write() line 79
- method-call OptIncludeForm::write() line 83
- method-call OptUniqueNullTreatmentForm::write() line 85
- method-call OptReloptionsForm::write() line 87
- method-call OptTableSpaceForm::write() line 89
- method-call WhereClauseForm::write() line 91
public function withOptUnique(OptUniqueForm $optUnique): selfReturns a copy with a new optUnique, preserving every other field.
Parameters
$optUnique | OptUniqueForm |
Returns
selfCalls 1
- new
selfline 99
public function withOptConcurrently(OptConcurrentlyForm $optConcurrently): selfReturns a copy with a new optConcurrently, preserving every other field.
Parameters
$optConcurrently | OptConcurrentlyForm |
Returns
selfCalls 1
- new
selfline 107
public function withName(NameForm $name): selfpublic function withRelationExpr(RelationExprForm $relationExpr): selfReturns a copy with a new relationExpr, preserving every other field.
Parameters
$relationExpr | RelationExprForm |
Returns
selfCalls 1
- new
selfline 123
public function withAccessMethodClause(AccessMethodClauseForm $accessMethodClause): selfReturns a copy with a new accessMethodClause, preserving every other field.
Parameters
$accessMethodClause | AccessMethodClauseForm |
Returns
selfCalls 1
- new
selfline 131
public function withIndexParams(IndexParamsForm $indexParams): selfReturns a copy with a new indexParams, preserving every other field.
Parameters
$indexParams | IndexParamsForm |
Returns
selfCalls 1
- new
selfline 139
public function withOptInclude(OptIncludeForm $optInclude): selfReturns a copy with a new optInclude, preserving every other field.
Parameters
$optInclude | OptIncludeForm |
Returns
selfCalls 1
- new
selfline 147
public function withOptUniqueNullTreatment(OptUniqueNullTreatmentForm $optUniqueNullTreatment): selfReturns a copy with a new optUniqueNullTreatment, preserving every other field.
Parameters
$optUniqueNullTreatment | OptUniqueNullTreatmentForm |
Returns
selfCalls 1
- new
selfline 155
public function withOptReloptions(OptReloptionsForm $optReloptions): selfReturns a copy with a new optReloptions, preserving every other field.
Parameters
$optReloptions | OptReloptionsForm |
Returns
selfCalls 1
- new
selfline 163
public function withOptTableSpace(OptTableSpaceForm $optTableSpace): selfReturns a copy with a new optTableSpace, preserving every other field.
Parameters
$optTableSpace | OptTableSpaceForm |
Returns
selfCalls 1
- new
selfline 171
public function withWhere(WhereClauseForm $where): selfReturns a copy with a new where, preserving every other field.
Parameters
$where | WhereClauseForm |
Returns
selfCalls 1
- new
selfline 179