classOptimizeTableStmtWithOptimizeOptNoWriteToBinlogTableOrTablesTableList_3ea338ec
final class OptimizeTableStmtWithOptimizeOptNoWriteToBinlogTableOrTablesTableList_3ea338ec
implements EvSqlStmtForm, EvSqlStmtInnerForm, OptimizeTableStmtForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StoredRoutineBodyForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The optimize_table_stmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\OptimizeTableStmtWithOptimizeOptNoWriteToBinlogTableOrTablesTableList_3ea338ec $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptNoWriteToBinlogForm $optNoWriteToBinlogpublic TableOrTablesForm $tableOrTablespublic TableListForm $tableListpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptNoWriteToBinlogForm $optNoWriteToBinlog,
public TableOrTablesForm $tableOrTables,
public TableListForm $tableList,
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
$optNoWriteToBinlog | OptNoWriteToBinlogForm | |
$tableOrTables | TableOrTablesForm | |
$tableList | TableListForm | |
$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 OptNoWriteToBinlogForm::write() line 41
- method-call TableOrTablesForm::write() line 43
- method-call TableListForm::write() line 45
public function withOptNoWriteToBinlog(OptNoWriteToBinlogForm $optNoWriteToBinlog): selfReturns a copy with a new optNoWriteToBinlog, preserving every other field.
Parameters
$optNoWriteToBinlog | OptNoWriteToBinlogForm |
Returns
selfCalls 1
- new
selfline 53
public function withTableOrTables(TableOrTablesForm $tableOrTables): selfReturns a copy with a new tableOrTables, preserving every other field.
Parameters
$tableOrTables | TableOrTablesForm |
Returns
selfCalls 1
- new
selfline 61
public function withTableList(TableListForm $tableList): selfReturns a copy with a new tableList, preserving every other field.
Parameters
$tableList | TableListForm |
Returns
selfCalls 1
- new
selfline 69