classLoadWithLoadDataOrXmlLoadDataLockOptLocalInfileTextStringFilesystemOptDuplicateInto_905e40f5
final class LoadWithLoadDataOrXmlLoadDataLockOptLocalInfileTextStringFilesystemOptDuplicateInto_905e40f5
implements EvSqlStmtForm, EvSqlStmtInnerForm, LoadForm, SpProcStmtForm, SpProcStmtStatementForm, StatementForm, StoredRoutineBodyForm, VerbClauseForm
uses Assertion
@visibility public.The load SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\LoadWithLoadDataOrXmlLoadDataLockOptLocalInfileTextStringFilesystemOptDuplicateInto_905e40f5 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public DataOrXmlForm $dataOrXmlpublic LoadDataLockForm $loadDataLockpublic OptLocalForm $optLocalpublic TextStringFilesystemForm $textStringFilesystempublic OptDuplicateForm $optDuplicatepublic TableIdentForm $tableIdentpublic OptUsePartitionForm $optUsePartitionpublic OptLoadDataCharsetForm $optLoadDataCharsetpublic OptXmlRowsIdentifiedByForm $optXmlRowsIdentifiedBypublic OptFieldTermForm $optFieldTermpublic OptLineTermForm $optLineTermpublic OptIgnoreLinesForm $optIgnoreLinespublic OptFieldOrVarSpecForm $optFieldOrVarSpecpublic OptLoadDataSetSpecForm $optLoadDataSetSpecpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public DataOrXmlForm $dataOrXml,
public LoadDataLockForm $loadDataLock,
public OptLocalForm $optLocal,
public TextStringFilesystemForm $textStringFilesystem,
public OptDuplicateForm $optDuplicate,
public TableIdentForm $tableIdent,
public OptUsePartitionForm $optUsePartition,
public OptLoadDataCharsetForm $optLoadDataCharset,
public OptXmlRowsIdentifiedByForm $optXmlRowsIdentifiedBy,
public OptFieldTermForm $optFieldTerm,
public OptLineTermForm $optLineTerm,
public OptIgnoreLinesForm $optIgnoreLines,
public OptFieldOrVarSpecForm $optFieldOrVarSpec,
public OptLoadDataSetSpecForm $optLoadDataSetSpec,
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
$dataOrXml | DataOrXmlForm | |
$loadDataLock | LoadDataLockForm | |
$optLocal | OptLocalForm | |
$textStringFilesystem | TextStringFilesystemForm | |
$optDuplicate | OptDuplicateForm | |
$tableIdent | TableIdentForm | |
$optUsePartition | OptUsePartitionForm | |
$optLoadDataCharset | OptLoadDataCharsetForm | |
$optXmlRowsIdentifiedBy | OptXmlRowsIdentifiedByForm | |
$optFieldTerm | OptFieldTermForm | |
$optLineTerm | OptLineTermForm | |
$optIgnoreLines | OptIgnoreLinesForm | |
$optFieldOrVarSpec | OptFieldOrVarSpecForm | |
$optLoadDataSetSpec | OptLoadDataSetSpecForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 16
- method-call Writer::comments() line 60
- method-call Writer::append() line 61
- method-call DataOrXmlForm::write() line 63
- method-call LoadDataLockForm::write() line 65
- method-call OptLocalForm::write() line 67
- method-call TextStringFilesystemForm::write() line 71
- method-call OptDuplicateForm::write() line 73
- method-call TableIdentForm::write() line 79
- method-call OptUsePartitionForm::write() line 81
- method-call OptLoadDataCharsetForm::write() line 83
- method-call OptXmlRowsIdentifiedByForm::write() line 85
- method-call OptFieldTermForm::write() line 87
- method-call OptLineTermForm::write() line 89
- method-call OptIgnoreLinesForm::write() line 91
- method-call OptFieldOrVarSpecForm::write() line 93
- method-call OptLoadDataSetSpecForm::write() line 95
public function withDataOrXml(DataOrXmlForm $dataOrXml): selfReturns a copy with a new dataOrXml, preserving every other field.
Parameters
$dataOrXml | DataOrXmlForm |
Returns
selfCalls 1
- new
selfline 103
public function withLoadDataLock(LoadDataLockForm $loadDataLock): selfReturns a copy with a new loadDataLock, preserving every other field.
Parameters
$loadDataLock | LoadDataLockForm |
Returns
selfCalls 1
- new
selfline 111
public function withOptLocal(OptLocalForm $optLocal): selfReturns a copy with a new optLocal, preserving every other field.
Parameters
$optLocal | OptLocalForm |
Returns
selfCalls 1
- new
selfline 119
public function withTextStringFilesystem(TextStringFilesystemForm $textStringFilesystem): selfReturns a copy with a new textStringFilesystem, preserving every other field.
Parameters
$textStringFilesystem | TextStringFilesystemForm |
Returns
selfCalls 1
- new
selfline 127
public function withOptDuplicate(OptDuplicateForm $optDuplicate): selfReturns a copy with a new optDuplicate, preserving every other field.
Parameters
$optDuplicate | OptDuplicateForm |
Returns
selfCalls 1
- new
selfline 135
public function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 143
public function withOptUsePartition(OptUsePartitionForm $optUsePartition): selfReturns a copy with a new optUsePartition, preserving every other field.
Parameters
$optUsePartition | OptUsePartitionForm |
Returns
selfCalls 1
- new
selfline 151
public function withOptLoadDataCharset(OptLoadDataCharsetForm $optLoadDataCharset): selfReturns a copy with a new optLoadDataCharset, preserving every other field.
Parameters
$optLoadDataCharset | OptLoadDataCharsetForm |
Returns
selfCalls 1
- new
selfline 159
public function withOptXmlRowsIdentifiedBy(OptXmlRowsIdentifiedByForm $optXmlRowsIdentifiedBy): selfReturns a copy with a new optXmlRowsIdentifiedBy, preserving every other field.
Parameters
$optXmlRowsIdentifiedBy | OptXmlRowsIdentifiedByForm |
Returns
selfCalls 1
- new
selfline 167
public function withOptFieldTerm(OptFieldTermForm $optFieldTerm): selfReturns a copy with a new optFieldTerm, preserving every other field.
Parameters
$optFieldTerm | OptFieldTermForm |
Returns
selfCalls 1
- new
selfline 175
public function withOptLineTerm(OptLineTermForm $optLineTerm): selfReturns a copy with a new optLineTerm, preserving every other field.
Parameters
$optLineTerm | OptLineTermForm |
Returns
selfCalls 1
- new
selfline 183
public function withOptIgnoreLines(OptIgnoreLinesForm $optIgnoreLines): selfReturns a copy with a new optIgnoreLines, preserving every other field.
Parameters
$optIgnoreLines | OptIgnoreLinesForm |
Returns
selfCalls 1
- new
selfline 191
public function withOptFieldOrVarSpec(OptFieldOrVarSpecForm $optFieldOrVarSpec): selfReturns a copy with a new optFieldOrVarSpec, preserving every other field.
Parameters
$optFieldOrVarSpec | OptFieldOrVarSpecForm |
Returns
selfCalls 1
- new
selfline 199
public function withOptLoadDataSetSpec(OptLoadDataSetSpecForm $optLoadDataSetSpec): selfReturns a copy with a new optLoadDataSetSpec, preserving every other field.
Parameters
$optLoadDataSetSpec | OptLoadDataSetSpecForm |
Returns
selfCalls 1
- new
selfline 207