final class IntoDestinationWithOutfileTextStringFilesystemOptLoadDataCharsetOptFieldTermOptLineTerm_b8db7bd6
    implements IntoDestinationForm
    uses Assertion
Public API: explicitly declared with @visibility public.

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

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

Properties§

public TextStringFilesystemForm $textStringFilesystem
public OptLoadDataCharsetForm $optLoadDataCharset
public OptFieldTermForm $optFieldTerm
public OptLineTermForm $optLineTerm
public Comments $comments = new \SqlSemantics\Statement\Comments()

Methods§

public function __construct(
    public TextStringFilesystemForm $textStringFilesystem,
    public OptLoadDataCharsetForm $optLoadDataCharset,
    public OptFieldTermForm $optFieldTerm,
    public OptLineTermForm $optLineTerm,
    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

$textStringFilesystemTextStringFilesystemForm
$optLoadDataCharsetOptLoadDataCharsetForm
$optFieldTermOptFieldTermForm
$optLineTermOptLineTermForm
$commentsComments
Calls 3
public function write(Writer $writer): void

Writes SQL entirely from this value's fields.

Parameters

$writerWriter
Calls 6
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 withOptLoadDataCharset(OptLoadDataCharsetForm $optLoadDataCharset): self

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

Parameters

$optLoadDataCharsetOptLoadDataCharsetForm

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 withComments(Comments $comments): self

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

Parameters

$commentsComments

Returns

self
Calls 1