classClusterStmtWithClusterOptVerboseNameOnQualifiedName_9e1245d3
final class ClusterStmtWithClusterOptVerboseNameOnQualifiedName_9e1245d3
implements ClusterStmtForm, ParseToplevelForm, RoutineBodyStmtForm, StmtForm, StmtmultiForm, ToplevelStmtForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The ClusterStmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\ClusterStmtWithClusterOptVerboseNameOnQualifiedName_9e1245d3 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptVerboseForm $optVerbosepublic NameForm $namepublic QualifiedNameForm $qualifiedNamepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptVerboseForm $optVerbose,
public NameForm $name,
public QualifiedNameForm $qualifiedName,
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
$optVerbose | OptVerboseForm | |
$name | NameForm | |
$qualifiedName | QualifiedNameForm | |
$comments | Comments |
Calls 3
- new Comments line 26
- method-call ClusterStmtWithClusterOptVerboseNameOnQualifiedName_9e1245d3::assert() line 28
- static-call Contracts::contains() line 28
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 5
- method-call Writer::comments() line 38
- method-call Writer::append() line 39
- method-call OptVerboseForm::write() line 41
- method-call NameForm::write() line 43
- method-call QualifiedNameForm::write() line 47
public function withOptVerbose(OptVerboseForm $optVerbose): selfReturns a copy with a new optVerbose, preserving every other field.
Parameters
$optVerbose | OptVerboseForm |
Returns
selfCalls 1
- new
selfline 55
public function withName(NameForm $name): selfpublic function withQualifiedName(QualifiedNameForm $qualifiedName): selfReturns a copy with a new qualifiedName, preserving every other field.
Parameters
$qualifiedName | QualifiedNameForm |
Returns
selfCalls 1
- new
selfline 71