classIndexStmtWithCreateOptUniqueIndexOptConcurrentlyOptSingleNameOnRelationExprAccessMethodC_99a5bd5e
final class IndexStmtWithCreateOptUniqueIndexOptConcurrentlyOptSingleNameOnRelationExprAccessMethodC_99a5bd5e
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\IndexStmtWithCreateOptUniqueIndexOptConcurrentlyOptSingleNameOnRelationExprAccessMethodC_99a5bd5e $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptUniqueForm $optUniquepublic OptConcurrentlyForm $optConcurrentlypublic OptSingleNameForm $optSingleNamepublic 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 OptSingleNameForm $optSingleName,
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 | |
$optSingleName | OptSingleNameForm | |
$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 OptSingleNameForm::write() line 63
- method-call RelationExprForm::write() line 67
- method-call AccessMethodClauseForm::write() line 69
- method-call IndexParamsForm::write() line 73
- method-call OptIncludeForm::write() line 77
- method-call OptUniqueNullTreatmentForm::write() line 79
- method-call OptReloptionsForm::write() line 81
- method-call OptTableSpaceForm::write() line 83
- method-call WhereClauseForm::write() line 85
public function withOptUnique(OptUniqueForm $optUnique): selfReturns a copy with a new optUnique, preserving every other field.
Parameters
$optUnique | OptUniqueForm |
Returns
selfCalls 1
- new
selfline 93
public function withOptConcurrently(OptConcurrentlyForm $optConcurrently): selfReturns a copy with a new optConcurrently, preserving every other field.
Parameters
$optConcurrently | OptConcurrentlyForm |
Returns
selfCalls 1
- new
selfline 101
public function withOptSingleName(OptSingleNameForm $optSingleName): selfReturns a copy with a new optSingleName, preserving every other field.
Parameters
$optSingleName | OptSingleNameForm |
Returns
selfCalls 1
- new
selfline 109
public function withRelationExpr(RelationExprForm $relationExpr): selfReturns a copy with a new relationExpr, preserving every other field.
Parameters
$relationExpr | RelationExprForm |
Returns
selfCalls 1
- new
selfline 117
public function withAccessMethodClause(AccessMethodClauseForm $accessMethodClause): selfReturns a copy with a new accessMethodClause, preserving every other field.
Parameters
$accessMethodClause | AccessMethodClauseForm |
Returns
selfCalls 1
- new
selfline 125
public function withIndexParams(IndexParamsForm $indexParams): selfReturns a copy with a new indexParams, preserving every other field.
Parameters
$indexParams | IndexParamsForm |
Returns
selfCalls 1
- new
selfline 133
public function withOptInclude(OptIncludeForm $optInclude): selfReturns a copy with a new optInclude, preserving every other field.
Parameters
$optInclude | OptIncludeForm |
Returns
selfCalls 1
- new
selfline 141
public function withOptUniqueNullTreatment(OptUniqueNullTreatmentForm $optUniqueNullTreatment): selfReturns a copy with a new optUniqueNullTreatment, preserving every other field.
Parameters
$optUniqueNullTreatment | OptUniqueNullTreatmentForm |
Returns
selfCalls 1
- new
selfline 149
public function withOptReloptions(OptReloptionsForm $optReloptions): selfReturns a copy with a new optReloptions, preserving every other field.
Parameters
$optReloptions | OptReloptionsForm |
Returns
selfCalls 1
- new
selfline 157
public function withOptTableSpace(OptTableSpaceForm $optTableSpace): selfReturns a copy with a new optTableSpace, preserving every other field.
Parameters
$optTableSpace | OptTableSpaceForm |
Returns
selfCalls 1
- new
selfline 165
public function withWhere(WhereClauseForm $where): selfReturns a copy with a new where, preserving every other field.
Parameters
$where | WhereClauseForm |
Returns
selfCalls 1
- new
selfline 173