classCreateStatsStmtWithCreateStatisticsOptQualifiedNameOptNameListOnStatsParamsFromFromList_ea424d58
final class CreateStatsStmtWithCreateStatisticsOptQualifiedNameOptNameListOnStatsParamsFromFromList_ea424d58
implements CreateStatsStmtForm, ParseToplevelForm, RoutineBodyStmtForm, StmtForm, StmtmultiForm, ToplevelStmtForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The CreateStatsStmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\CreateStatsStmtWithCreateStatisticsOptQualifiedNameOptNameListOnStatsParamsFromFromList_ea424d58 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptQualifiedNameForm $optQualifiedNamepublic OptNameListForm $optNameListpublic StatsParamsForm $statsParamspublic FromListForm $fromListpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptQualifiedNameForm $optQualifiedName,
public OptNameListForm $optNameList,
public StatsParamsForm $statsParams,
public FromListForm $fromList,
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
$optQualifiedName | OptQualifiedNameForm | |
$optNameList | OptNameListForm | |
$statsParams | StatsParamsForm | |
$fromList | FromListForm | |
$comments | Comments |
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 6
- method-call Writer::comments() line 40
- method-call Writer::append() line 41
- method-call OptQualifiedNameForm::write() line 45
- method-call OptNameListForm::write() line 47
- method-call StatsParamsForm::write() line 51
- method-call FromListForm::write() line 55
public function withOptQualifiedName(OptQualifiedNameForm $optQualifiedName): selfReturns a copy with a new optQualifiedName, preserving every other field.
Parameters
$optQualifiedName | OptQualifiedNameForm |
Returns
selfCalls 1
- new
selfline 63
public function withOptNameList(OptNameListForm $optNameList): selfReturns a copy with a new optNameList, preserving every other field.
Parameters
$optNameList | OptNameListForm |
Returns
selfCalls 1
- new
selfline 71
public function withStatsParams(StatsParamsForm $statsParams): selfReturns a copy with a new statsParams, preserving every other field.
Parameters
$statsParams | StatsParamsForm |
Returns
selfCalls 1
- new
selfline 79
public function withFromList(FromListForm $fromList): selfReturns a copy with a new fromList, preserving every other field.
Parameters
$fromList | FromListForm |
Returns
selfCalls 1
- new
selfline 87