classOptSubPartWithSubpartitionSymByOptLinearKeySymOptKeyAlgoSubPartFieldListOptNumSubparts_650cac4d
final class OptSubPartWithSubpartitionSymByOptLinearKeySymOptKeyAlgoSubPartFieldListOptNumSubparts_650cac4d
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\OptSubPartWithSubpartitionSymByOptLinearKeySymOptKeyAlgoSubPartFieldListOptNumSubparts_650cac4d $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptLinearForm $optLinearpublic OptKeyAlgoForm $optKeyAlgopublic SubPartFieldListForm $subPartFieldListpublic OptNumSubpartsForm $optNumSubpartspublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptLinearForm $optLinear,
public OptKeyAlgoForm $optKeyAlgo,
public SubPartFieldListForm $subPartFieldList,
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 | |
$subPartFieldList | SubPartFieldListForm | |
$optNumSubparts | OptNumSubpartsForm | |
$comments | Comments |
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 SubPartFieldListForm::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 withSubPartFieldList(SubPartFieldListForm $subPartFieldList): selfReturns a copy with a new subPartFieldList, preserving every other field.
Parameters
$subPartFieldList | SubPartFieldListForm |
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