classWindowSpecificationWithOptExistingWindowNameOptPartitionClauseOptSortClauseOptFrameClause_52a2caa5
final class WindowSpecificationWithOptExistingWindowNameOptPartitionClauseOptSortClauseOptFrameClause_52a2caa5
implements WindowSpecificationForm
uses Assertion
Public API: explicitly declared with
@visibility public.The window_specification SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\WindowSpecificationWithOptExistingWindowNameOptPartitionClauseOptSortClauseOptFrameClause_52a2caa5 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptExistingWindowNameForm $optExistingWindowNamepublic OptPartitionClauseForm $optPartitionClausepublic OptSortClauseForm $optSortClausepublic OptFrameClauseForm $optFrameClausepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptExistingWindowNameForm $optExistingWindowName,
public OptPartitionClauseForm $optPartitionClause,
public OptSortClauseForm $optSortClause,
public OptFrameClauseForm $optFrameClause,
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 | |
$optSortClause | OptSortClauseForm | |
$optFrameClause | OptFrameClauseForm | |
$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 OptExistingWindowNameForm::write() line 43
- method-call OptPartitionClauseForm::write() line 45
- method-call OptSortClauseForm::write() line 47
- method-call OptFrameClauseForm::write() line 49
public function withOptExistingWindowName(OptExistingWindowNameForm $optExistingWindowName): selfReturns a copy with a new optExistingWindowName, preserving every other field.
Parameters
$optExistingWindowName | OptExistingWindowNameForm |
Returns
selfCalls 1
- new
selfline 59
public function withOptPartitionClause(OptPartitionClauseForm $optPartitionClause): selfReturns a copy with a new optPartitionClause, preserving every other field.
Parameters
$optPartitionClause | OptPartitionClauseForm |
Returns
selfCalls 1
- new
selfline 67
public function withOptSortClause(OptSortClauseForm $optSortClause): selfReturns a copy with a new optSortClause, preserving every other field.
Parameters
$optSortClause | OptSortClauseForm |
Returns
selfCalls 1
- new
selfline 75
public function withOptFrameClause(OptFrameClauseForm $optFrameClause): selfReturns a copy with a new optFrameClause, preserving every other field.
Parameters
$optFrameClause | OptFrameClauseForm |
Returns
selfCalls 1
- new
selfline 83