classPreloadStmtWithLoadIndexSymIntoCacheSymTableIdentAdmPartitionOptCacheKeyListOptIgnoreLeave_86e78d1f
final class PreloadStmtWithLoadIndexSymIntoCacheSymTableIdentAdmPartitionOptCacheKeyListOptIgnoreLeave_86e78d1f
implements EvSqlStmtForm, EvSqlStmtInnerForm, PreloadStmtForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StoredRoutineBodyForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The preload_stmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\PreloadStmtWithLoadIndexSymIntoCacheSymTableIdentAdmPartitionOptCacheKeyListOptIgnoreLeave_86e78d1f $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public TableIdentForm $tableIdentpublic AdmPartitionForm $admPartitionpublic OptCacheKeyListForm $optCacheKeyListpublic OptIgnoreLeavesForm $optIgnoreLeavespublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public TableIdentForm $tableIdent,
public AdmPartitionForm $admPartition,
public OptCacheKeyListForm $optCacheKeyList,
public OptIgnoreLeavesForm $optIgnoreLeaves,
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
$tableIdent | TableIdentForm | |
$admPartition | AdmPartitionForm | |
$optCacheKeyList | OptCacheKeyListForm | |
$optIgnoreLeaves | OptIgnoreLeavesForm | |
$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 TableIdentForm::write() line 49
- method-call AdmPartitionForm::write() line 51
- method-call OptCacheKeyListForm::write() line 53
- method-call OptIgnoreLeavesForm::write() line 55
public function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 63
public function withAdmPartition(AdmPartitionForm $admPartition): selfReturns a copy with a new admPartition, preserving every other field.
Parameters
$admPartition | AdmPartitionForm |
Returns
selfCalls 1
- new
selfline 71
public function withOptCacheKeyList(OptCacheKeyListForm $optCacheKeyList): selfReturns a copy with a new optCacheKeyList, preserving every other field.
Parameters
$optCacheKeyList | OptCacheKeyListForm |
Returns
selfCalls 1
- new
selfline 79
public function withOptIgnoreLeaves(OptIgnoreLeavesForm $optIgnoreLeaves): selfReturns a copy with a new optIgnoreLeaves, preserving every other field.
Parameters
$optIgnoreLeaves | OptIgnoreLeavesForm |
Returns
selfCalls 1
- new
selfline 87