classWindowSpecDetailsWithOptExistingWindowNameOptPartitionClauseOptWindowOrderByClauseOptWindowFrame_4a73fee5
final class WindowSpecDetailsWithOptExistingWindowNameOptPartitionClauseOptWindowOrderByClauseOptWindowFrame_4a73fee5
implements WindowSpecDetailsForm
uses Assertion
Public API: explicitly declared with
@visibility public.The window_spec_details SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\WindowSpecDetailsWithOptExistingWindowNameOptPartitionClauseOptWindowOrderByClauseOptWindowFrame_4a73fee5 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptExistingWindowNameForm $optExistingWindowNamepublic OptPartitionClauseForm $optPartitionClausepublic OptWindowOrderByClauseForm $optWindowOrderByClausepublic OptWindowFrameClauseForm $optWindowFrameClausepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptExistingWindowNameForm $optExistingWindowName,
public OptPartitionClauseForm $optPartitionClause,
public OptWindowOrderByClauseForm $optWindowOrderByClause,
public OptWindowFrameClauseForm $optWindowFrameClause,
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
$optExistingWindowName | OptExistingWindowNameForm | |
$optPartitionClause | OptPartitionClauseForm | |
$optWindowOrderByClause | OptWindowOrderByClauseForm | |
$optWindowFrameClause | OptWindowFrameClauseForm | |
$comments | Comments |
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 5
- method-call Writer::comments() line 40
- method-call OptExistingWindowNameForm::write() line 41
- method-call OptPartitionClauseForm::write() line 43
- method-call OptWindowOrderByClauseForm::write() line 45
- method-call OptWindowFrameClauseForm::write() line 47
public function withOptExistingWindowName(OptExistingWindowNameForm $optExistingWindowName): selfReturns a copy with a new optExistingWindowName, preserving every other field.
Parameters
$optExistingWindowName | OptExistingWindowNameForm |
Returns
selfCalls 1
- new
selfline 55
public function withOptPartitionClause(OptPartitionClauseForm $optPartitionClause): selfReturns a copy with a new optPartitionClause, preserving every other field.
Parameters
$optPartitionClause | OptPartitionClauseForm |
Returns
selfCalls 1
- new
selfline 63
public function withOptWindowOrderByClause(OptWindowOrderByClauseForm $optWindowOrderByClause): selfReturns a copy with a new optWindowOrderByClause, preserving every other field.
Parameters
$optWindowOrderByClause | OptWindowOrderByClauseForm |
Returns
selfCalls 1
- new
selfline 71
public function withOptWindowFrameClause(OptWindowFrameClauseForm $optWindowFrameClause): selfReturns a copy with a new optWindowFrameClause, preserving every other field.
Parameters
$optWindowFrameClause | OptWindowFrameClauseForm |
Returns
selfCalls 1
- new
selfline 79