classOptSubPartWithSubpartitionSymByOptLinearHashSymBitExprOptNumSubparts_bc80bd06
final class OptSubPartWithSubpartitionSymByOptLinearHashSymBitExprOptNumSubparts_bc80bd06
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\OptSubPartWithSubpartitionSymByOptLinearHashSymBitExprOptNumSubparts_bc80bd06 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptLinearForm $optLinearpublic BitExprForm $bitExprpublic OptNumSubpartsForm $optNumSubpartspublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptLinearForm $optLinear,
public BitExprForm $bitExpr,
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 | |
$bitExpr | BitExprForm | |
$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 BitExprForm::write() line 49
- method-call OptNumSubpartsForm::write() line 53
public function withOptLinear(OptLinearForm $optLinear): selfReturns a copy with a new optLinear, preserving every other field.
Parameters
$optLinear | OptLinearForm |
Returns
selfCalls 1
- new
selfline 61
public function withBitExpr(BitExprForm $bitExpr): selfReturns a copy with a new bitExpr, preserving every other field.
Parameters
$bitExpr | BitExprForm |
Returns
selfCalls 1
- new
selfline 69
public function withOptNumSubparts(OptNumSubpartsForm $optNumSubparts): selfReturns a copy with a new optNumSubparts, preserving every other field.
Parameters
$optNumSubparts | OptNumSubpartsForm |
Returns
selfCalls 1
- new
selfline 77