Flow PHP

PhysicalPlan

Read onlyYes
FinalYes

Enumerates the spine's pipelines only - a branch's pipeline hangs off the BranchPipeline that holds it.

Methods

__construct()  : mixed
countsOnly()  : bool
Nothing reads the columns of the rows the plan returns: its root is a Write, so a run only counts them.
described()  : bool
pipelines()  : array<int, Pipeline>
refreshingAfterRun()  : self
refreshSources()  : void
Drops what the sources listed and inferred for this run, so the next run reads them as they are then.
refusal()  : SchemaNotDerivableException|null
root()  : Pipeline
schema()  : Schema

Methods

__construct()

public __construct(Pipeline $root, null|Schema $schema[, null|SchemaNotDerivableException $refusal = null ][, bool $countsOnly = false ][, array<int, Refreshable> $refreshedAfterRun = [] ]) : mixed
Parameters
$root : Pipeline
$schema : null|Schema

the rows the plan returns; null when $refusal says why it is not derivable

$refusal : null|SchemaNotDerivableException = null

why the plan is not fully described; a branch's refusal leaves $schema set

$countsOnly : bool = false

the plan's root is a Write: nothing reads the returned rows' columns

$refreshedAfterRun : array<int, Refreshable> = []

the sources whose listing and inferred schema last until the run ends

Tags
throws
InvalidLogicException

when $schema and $refusal are both null

countsOnly()

Nothing reads the columns of the rows the plan returns: its root is a Write, so a run only counts them.

public countsOnly() : bool
Return values
bool

described()

public described() : bool
Return values
bool

refreshSources()

Drops what the sources listed and inferred for this run, so the next run reads them as they are then.

public refreshSources() : void
On this page

Search results