classWindowFuncCallWithLeadSymExprOptLeadLagInfoOptNullTreatmentWindowingClause_45806aca
final class WindowFuncCallWithLeadSymExprOptLeadLagInfoOptNullTreatmentWindowingClause_45806aca
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\WindowFuncCallWithLeadSymExprOptLeadLagInfoOptNullTreatmentWindowingClause_45806aca $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public ExprForm $exprpublic OptLeadLagInfoForm $optLeadLagInfopublic OptNullTreatmentForm $optNullTreatmentpublic WindowingClauseForm $windowingClausepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public ExprForm $expr,
public OptLeadLagInfoForm $optLeadLagInfo,
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 | |
$optLeadLagInfo | OptLeadLagInfoForm | |
$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 6
- method-call Writer::comments() line 40
- method-call Writer::append() line 41
- method-call ExprForm::write() line 45
- method-call OptLeadLagInfoForm::write() line 47
- method-call OptNullTreatmentForm::write() line 51
- method-call WindowingClauseForm::write() line 53
public function withExpr(ExprForm $expr): selfpublic function withOptLeadLagInfo(OptLeadLagInfoForm $optLeadLagInfo): selfReturns a copy with a new optLeadLagInfo, preserving every other field.
Parameters
$optLeadLagInfo | OptLeadLagInfoForm |
Returns
selfCalls 1
- new
selfline 69
public function withOptNullTreatment(OptNullTreatmentForm $optNullTreatment): selfReturns a copy with a new optNullTreatment, preserving every other field.
Parameters
$optNullTreatment | OptNullTreatmentForm |
Returns
selfCalls 1
- new
selfline 77
public function withWindowingClause(WindowingClauseForm $windowingClause): selfReturns a copy with a new windowingClause, preserving every other field.
Parameters
$windowingClause | WindowingClauseForm |
Returns
selfCalls 1
- new
selfline 85