final class JoinedInput
Restricted visibility: declared "@visibility SqlSemantics\Platform\MySql". Code outside that scope must not name this declaration.

The outcome of deriving a FROM clause term: its facts, the relations it makes visible and the columns * selects.

Each star entry is the index of a visible relation and the position of a slot in its shape, in the order * selects the columns.

Properties§

public list<VisibleRelation> $visible
public list<array{int, int}> $star

Methods§

public function __construct(
    public RelationFact $fact,
    public list<VisibleRelation> $visible,
    public list<array{int, int}> $star,
)

Parameters

$factRelationFactThe facts of the term
$visiblelist<VisibleRelation>The relations a name can refer to, in written order
$starlist<array{int, int}>The columns `*` selects
public static function of(list<VisibleRelation> $visible, list<array{int, int}> $star): self
public function slot(array{int, int} $entry): OutputSlot

Answers the slot of a star entry.

Parameters

$entryarray{int, int}The star entry

Returns

public function complete(): bool

Tells whether the names of every visible relation are decided: its shape is complete and no column name depends on missing inputs.

Returns

bool
Called from 2
Calls 1

Test cases 4§

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

Dedicated tests 4

Relations§

Instantiated in 5
Static calls 2
Method calls 2
Type declarations 7