classBulkOptions
final class BulkOptions
implements Node
uses Snapshot
Public API: explicitly declared with
@visibility public.The trailing options of a bulk LOAD DATA: PARALLEL = n, MEMORY = size and ALGORITHM = BULK.
They belong to the bulk load of the HeatWave grammars: ALGORITHM = BULK since 8.0.30, PARALLEL and MEMORY since 8.2. Source: https://dev.mysql.com/doc/heatwave-aws/en/mys-hw-aws-bulk-ingest.html.
$load = (new \SqlSemantics\Platform\MySql\Semantics())->analyze("LOAD DATA INFILE 'f' INTO TABLE t PARALLEL = 4 ALGORITHM = BULK");
[$load->statement->bulk->parallel->text, $load->statement->bulk->bulk] // => ['4', true]Properties§
public Numeral|null $parallel = nullpublic ByteSize|null $memory = nullpublic bool $bulk = falseMethods§
public function __construct(
public Numeral|null $parallel = null,
public ByteSize|null $memory = null,
public bool $bulk = false,
)Parameters
Calls 1
- static-call Check::input() line 37
public function render(Output $out): voidTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.