classWindowFuncCallWithFirstValueSymExprOptNullTreatmentWindowingClause_416b6d35
final class WindowFuncCallWithFirstValueSymExprOptNullTreatmentWindowingClause_416b6d35
implements BitExprForm, BoolPriForm, ExprForm, ExprListForm, ExprOrDefaultForm, GeneratedColumnFuncForm, GroupListForm, GroupingExprForm, InstallSetRvalueForm, OptExprForm, OptExprListForm, OptSpCparamsForm, OptValuesForm, OrderIdentForm, PartFuncExprForm, PartFuncMaxForm, PartValueExprItemForm, PartValueItemForm, PartValueItemListForm, PartValueListForm, PartValuesInForm, PredicateForm, SetExprOrDefaultForm, SimpleExprForm, SpCparamsForm, ValuesForm, WindowFuncCallForm
uses Assertion
Public API: explicitly declared with
@visibility public.The window_func_call SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\WindowFuncCallWithFirstValueSymExprOptNullTreatmentWindowingClause_416b6d35 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public ExprForm $exprpublic OptNullTreatmentForm $optNullTreatmentpublic WindowingClauseForm $windowingClausepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public ExprForm $expr,
public OptNullTreatmentForm $optNullTreatment,
public WindowingClauseForm $windowingClause,
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
$expr | ExprForm | |
$optNullTreatment | OptNullTreatmentForm | |
$windowingClause | WindowingClauseForm | |
$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 ExprForm::write() line 43
- method-call OptNullTreatmentForm::write() line 47
- method-call WindowingClauseForm::write() line 49
public function withExpr(ExprForm $expr): selfpublic function withOptNullTreatment(OptNullTreatmentForm $optNullTreatment): selfReturns a copy with a new optNullTreatment, preserving every other field.
Parameters
$optNullTreatment | OptNullTreatmentForm |
Returns
selfCalls 1
- new
selfline 65
public function withWindowingClause(WindowingClauseForm $windowingClause): selfReturns a copy with a new windowingClause, preserving every other field.
Parameters
$windowingClause | WindowingClauseForm |
Returns
selfCalls 1
- new
selfline 73