classWindowWithNmPartitionByNexprlistOrderbyOptFrameOpt_8a8b5059
final class WindowWithNmPartitionByNexprlistOrderbyOptFrameOpt_8a8b5059
implements WindowForm
uses Assertion
Public API: explicitly declared with
@visibility public.The window SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\Sqlite\Value\WindowWithNmPartitionByNexprlistOrderbyOptFrameOpt_8a8b5059 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public NmForm $nmpublic NexprlistForm $nexprlistpublic OrderbyOptForm $orderBypublic FrameOptForm $frameOptpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public NmForm $nm,
public NexprlistForm $nexprlist,
public OrderbyOptForm $orderBy,
public FrameOptForm $frameOpt,
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
$nm | NmForm | |
$nexprlist | NexprlistForm | |
$orderBy | OrderbyOptForm | |
$frameOpt | FrameOptForm | |
$comments | Comments |
Calls 3
- new Comments line 27
- method-call WindowWithNmPartitionByNexprlistOrderbyOptFrameOpt_8a8b5059::assert() line 29
- static-call Contracts::contains() line 29
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 NmForm::write() line 41
- method-call Writer::append() line 43
- method-call NexprlistForm::write() line 47
- method-call OrderbyOptForm::write() line 49
- method-call FrameOptForm::write() line 51
public function withNm(NmForm $nm): selfpublic function withNexprlist(NexprlistForm $nexprlist): selfReturns a copy with a new nexprlist, preserving every other field.
Parameters
$nexprlist | NexprlistForm |
Returns
selfCalls 1
- new
selfline 67
public function withOrderBy(OrderbyOptForm $orderBy): selfReturns a copy with a new orderBy, preserving every other field.
Parameters
$orderBy | OrderbyOptForm |
Returns
selfCalls 1
- new
selfline 75
public function withFrameOpt(FrameOptForm $frameOpt): selfReturns a copy with a new frameOpt, preserving every other field.
Parameters
$frameOpt | FrameOptForm |
Returns
selfCalls 1
- new
selfline 83