final class LoadWithLoadDataOrXmlLoadDataLockOptLocalInfileTextStringFilesystemOptDuplicateInto_905e40f5
    implements EvSqlStmtForm, EvSqlStmtInnerForm, LoadForm, SpProcStmtForm, SpProcStmtStatementForm, StatementForm, StoredRoutineBodyForm, VerbClauseForm
    uses Assertion
Public API: explicitly declared with @visibility public.

The load SQL value; generated by bin/build-models.php.

Accept a structured SQL valuedoctest
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\LoadWithLoadDataOrXmlLoadDataLockOptLocalInfileTextStringFilesystemOptDuplicateInto_905e40f5 $value): string => \SqlSemantics\Statement\Writer::render($value);
    $write instanceof \Closure // => true

Properties§

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()

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

$dataOrXmlDataOrXmlForm
$loadDataLockLoadDataLockForm
$optLocalOptLocalForm
$textStringFilesystemTextStringFilesystemForm
$optDuplicateOptDuplicateForm
$tableIdentTableIdentForm
$optUsePartitionOptUsePartitionForm
$optLoadDataCharsetOptLoadDataCharsetForm
$optXmlRowsIdentifiedByOptXmlRowsIdentifiedByForm
$optFieldTermOptFieldTermForm
$optLineTermOptLineTermForm
$optIgnoreLinesOptIgnoreLinesForm
$optFieldOrVarSpecOptFieldOrVarSpecForm
$optLoadDataSetSpecOptLoadDataSetSpecForm
$commentsComments
Calls 3
public function withDataOrXml(DataOrXmlForm $dataOrXml): self

Returns a copy with a new dataOrXml, preserving every other field.

Parameters

$dataOrXmlDataOrXmlForm

Returns

self
Calls 1
public function withLoadDataLock(LoadDataLockForm $loadDataLock): self

Returns a copy with a new loadDataLock, preserving every other field.

Parameters

$loadDataLockLoadDataLockForm

Returns

self
Calls 1
public function withOptLocal(OptLocalForm $optLocal): self

Returns a copy with a new optLocal, preserving every other field.

Parameters

$optLocalOptLocalForm

Returns

self
Calls 1
public function withTextStringFilesystem(TextStringFilesystemForm $textStringFilesystem): self

Returns a copy with a new textStringFilesystem, preserving every other field.

Parameters

$textStringFilesystemTextStringFilesystemForm

Returns

self
Calls 1
public function withOptDuplicate(OptDuplicateForm $optDuplicate): self

Returns a copy with a new optDuplicate, preserving every other field.

Parameters

$optDuplicateOptDuplicateForm

Returns

self
Calls 1
public function withTableIdent(TableIdentForm $tableIdent): self

Returns a copy with a new tableIdent, preserving every other field.

Parameters

$tableIdentTableIdentForm

Returns

self
Calls 1
public function withOptUsePartition(OptUsePartitionForm $optUsePartition): self

Returns a copy with a new optUsePartition, preserving every other field.

Parameters

$optUsePartitionOptUsePartitionForm

Returns

self
Calls 1
public function withOptLoadDataCharset(OptLoadDataCharsetForm $optLoadDataCharset): self

Returns a copy with a new optLoadDataCharset, preserving every other field.

Parameters

$optLoadDataCharsetOptLoadDataCharsetForm

Returns

self
Calls 1
public function withOptXmlRowsIdentifiedBy(OptXmlRowsIdentifiedByForm $optXmlRowsIdentifiedBy): self

Returns a copy with a new optXmlRowsIdentifiedBy, preserving every other field.

Parameters

$optXmlRowsIdentifiedByOptXmlRowsIdentifiedByForm

Returns

self
Calls 1
public function withOptFieldTerm(OptFieldTermForm $optFieldTerm): self

Returns a copy with a new optFieldTerm, preserving every other field.

Parameters

$optFieldTermOptFieldTermForm

Returns

self
Calls 1
public function withOptLineTerm(OptLineTermForm $optLineTerm): self

Returns a copy with a new optLineTerm, preserving every other field.

Parameters

$optLineTermOptLineTermForm

Returns

self
Calls 1
public function withOptIgnoreLines(OptIgnoreLinesForm $optIgnoreLines): self

Returns a copy with a new optIgnoreLines, preserving every other field.

Parameters

$optIgnoreLinesOptIgnoreLinesForm

Returns

self
Calls 1
public function withOptFieldOrVarSpec(OptFieldOrVarSpecForm $optFieldOrVarSpec): self

Returns a copy with a new optFieldOrVarSpec, preserving every other field.

Parameters

$optFieldOrVarSpecOptFieldOrVarSpecForm

Returns

self
Calls 1
public function withOptLoadDataSetSpec(OptLoadDataSetSpecForm $optLoadDataSetSpec): self

Returns a copy with a new optLoadDataSetSpec, preserving every other field.

Parameters

$optLoadDataSetSpecOptLoadDataSetSpecForm

Returns

self
Calls 1
public function withComments(Comments $comments): self

Returns a copy with a new comments, preserving every other field.

Parameters

$commentsComments

Returns

self
Calls 1