classOptSubPartWithSubpartitionSymByOptLinearHashSymSubPartFuncOptNumSubparts_59f39922
final class OptSubPartWithSubpartitionSymByOptLinearHashSymSubPartFuncOptNumSubparts_59f39922
implements OptSubPartForm
uses Assertion
Public API: explicitly declared with
@visibility public.The opt_sub_part SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\OptSubPartWithSubpartitionSymByOptLinearHashSymSubPartFuncOptNumSubparts_59f39922 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptLinearForm $optLinearpublic SubPartFuncForm $subPartFuncpublic OptNumSubpartsForm $optNumSubpartspublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptLinearForm $optLinear,
public SubPartFuncForm $subPartFunc,
public OptNumSubpartsForm $optNumSubparts,
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
$optLinear | OptLinearForm | |
$subPartFunc | SubPartFuncForm | |
$optNumSubparts | OptNumSubpartsForm | |
$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 OptLinearForm::write() line 43
- method-call SubPartFuncForm::write() line 47
- method-call OptNumSubpartsForm::write() line 49
public function withOptLinear(OptLinearForm $optLinear): selfReturns a copy with a new optLinear, preserving every other field.
Parameters
$optLinear | OptLinearForm |
Returns
selfCalls 1
- new
selfline 57
public function withSubPartFunc(SubPartFuncForm $subPartFunc): selfReturns a copy with a new subPartFunc, preserving every other field.
Parameters
$subPartFunc | SubPartFuncForm |
Returns
selfCalls 1
- new
selfline 65
public function withOptNumSubparts(OptNumSubpartsForm $optNumSubparts): selfReturns a copy with a new optNumSubparts, preserving every other field.
Parameters
$optNumSubparts | OptNumSubpartsForm |
Returns
selfCalls 1
- new
selfline 73