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
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
booldescribed()
public
described() : bool
Return values
boolpipelines()
public
pipelines() : array<int, Pipeline>
Return values
array<int, Pipeline> —every pipeline of the spine, leaf first
refreshingAfterRun()
public
refreshingAfterRun(Refreshable ...$sources) : self
Parameters
- $sources : Refreshable
Return values
selfrefreshSources()
Drops what the sources listed and inferred for this run, so the next run reads them as they are then.
public
refreshSources() : void
refusal()
public
refusal() : SchemaNotDerivableException|null
Return values
SchemaNotDerivableException|nullroot()
public
root() : Pipeline
Return values
Pipelineschema()
public
schema() : Schema