classExplainStmtWithExplainAnalyzeKeywordOptVerboseExplainableStmt_a4d28e5b
final class ExplainStmtWithExplainAnalyzeKeywordOptVerboseExplainableStmt_a4d28e5b
implements ExplainStmtForm, ParseToplevelForm, RoutineBodyStmtForm, StmtForm, StmtmultiForm, ToplevelStmtForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The ExplainStmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\ExplainStmtWithExplainAnalyzeKeywordOptVerboseExplainableStmt_a4d28e5b $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public AnalyzeKeywordForm $analyzeKeywordpublic OptVerboseForm $optVerbosepublic ExplainableStmtForm $explainableStmtpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public AnalyzeKeywordForm $analyzeKeyword,
public OptVerboseForm $optVerbose,
public ExplainableStmtForm $explainableStmt,
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
$analyzeKeyword | AnalyzeKeywordForm | |
$optVerbose | OptVerboseForm | |
$explainableStmt | ExplainableStmtForm | |
$comments | Comments |
Calls 3
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 AnalyzeKeywordForm::write() line 41
- method-call OptVerboseForm::write() line 43
- method-call ExplainableStmtForm::write() line 45
public function withAnalyzeKeyword(AnalyzeKeywordForm $analyzeKeyword): selfReturns a copy with a new analyzeKeyword, preserving every other field.
Parameters
$analyzeKeyword | AnalyzeKeywordForm |
Returns
selfCalls 1
- new
selfline 53
public function withOptVerbose(OptVerboseForm $optVerbose): selfReturns a copy with a new optVerbose, preserving every other field.
Parameters
$optVerbose | OptVerboseForm |
Returns
selfCalls 1
- new
selfline 61
public function withExplainableStmt(ExplainableStmtForm $explainableStmt): selfReturns a copy with a new explainableStmt, preserving every other field.
Parameters
$explainableStmt | ExplainableStmtForm |
Returns
selfCalls 1
- new
selfline 69