final class ValuesInRows
    implements PartitionBound
    uses Snapshot
Public API: explicitly declared with @visibility public.

VALUES IN ((value, …), …): the value tuples of a LIST COLUMNS partition.

Mirrors PT_part_values_in_list: a parenthesized list of rows, one tuple of column values each. Source: https://dev.mysql.com/doc/refman/8.4/en/partitioning-columns-list.html.

Holding the tuples of a list columns partitiondoctest
$row = new \SqlSemantics\Platform\MySql\Statement\Partition\Bound\PartitionRow([new \SqlSemantics\Platform\MySql\Statement\Literal\NumberLiteral('1'), new \SqlSemantics\Platform\MySql\Statement\Literal\NumberLiteral('2')]);
    count((new \SqlSemantics\Platform\MySql\Statement\Partition\Bound\ValuesInRows([$row]))->rows) // => 1

Properties§

public list<PartitionRow> $rows

Methods§

public function __construct(list<PartitionRow> $rows)

Parameters

$rowslist<PartitionRow>The tuples in order; at least one
Calls 3
public function deriveBound(Derivation $derivation): void

Derives the values as constants.

Parameters

$derivationDerivation
public function render(Output $out): void

Writes the tuples.

Parameters

$outOutput
Calls 1

Test cases 1§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1

Relations§

Instantiated in 1
Type declarations 1