classOptSubPartWithSubpartitionSymByOptLinearKeySymOptKeyAlgoNameListOptNumSubparts_c9746b5c
final class OptSubPartWithSubpartitionSymByOptLinearKeySymOptKeyAlgoNameListOptNumSubparts_c9746b5c
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\OptSubPartWithSubpartitionSymByOptLinearKeySymOptKeyAlgoNameListOptNumSubparts_c9746b5c $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptLinearForm $optLinearpublic OptKeyAlgoForm $optKeyAlgopublic NameListForm $nameListpublic OptNumSubpartsForm $optNumSubpartspublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptLinearForm $optLinear,
public OptKeyAlgoForm $optKeyAlgo,
public NameListForm $nameList,
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 | |
$optKeyAlgo | OptKeyAlgoForm | |
$nameList | NameListForm | |
$optNumSubparts | OptNumSubpartsForm | |
$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 OptLinearForm::write() line 45
- method-call OptKeyAlgoForm::write() line 49
- method-call NameListForm::write() line 53
- method-call OptNumSubpartsForm::write() line 57
public function withOptLinear(OptLinearForm $optLinear): selfReturns a copy with a new optLinear, preserving every other field.
Parameters
$optLinear | OptLinearForm |
Returns
selfCalls 1
- new
selfline 65
public function withOptKeyAlgo(OptKeyAlgoForm $optKeyAlgo): selfReturns a copy with a new optKeyAlgo, preserving every other field.
Parameters
$optKeyAlgo | OptKeyAlgoForm |
Returns
selfCalls 1
- new
selfline 73
public function withNameList(NameListForm $nameList): selfReturns a copy with a new nameList, preserving every other field.
Parameters
$nameList | NameListForm |
Returns
selfCalls 1
- new
selfline 81
public function withOptNumSubparts(OptNumSubpartsForm $optNumSubparts): selfReturns a copy with a new optNumSubparts, preserving every other field.
Parameters
$optNumSubparts | OptNumSubpartsForm |
Returns
selfCalls 1
- new
selfline 89