NodeTranslator
Read onlyYes
FinalYes
Methods
- __construct() : mixed
- steps() : array<int, CrossJoin|HashJoin|Loader|Processor|Transformer>
- Called once per plan, so a step Flow constructs here is rebuilt every run and a second run never sees the state the first left behind. An instance the USER constructed - a Loader, or a Transformer handed to transform()/rows() - is theirs: it is handed back as it is, never reset.
Methods
__construct()
public
__construct(Backend $backend, RandomValueGenerator $randomValueGenerator, string $id, RowsStorage $cache, Path $cacheDir, MemorySortConfig|ExternalSortConfig $sort, BucketingConfig $grouping, HashJoinConfig $join, BucketingConfig $repartition) : mixed
Parameters
- $backend : Backend
- $randomValueGenerator : RandomValueGenerator
- $id : string
- $cache : RowsStorage
- $cacheDir : Path
- $sort : MemorySortConfig|ExternalSortConfig
- $grouping : BucketingConfig
- $join : HashJoinConfig
- $repartition : BucketingConfig
steps()
Called once per plan, so a step Flow constructs here is rebuilt every run and a second run never sees the state the first left behind. An instance the USER constructed - a Loader, or a Transformer handed to transform()/rows() - is theirs: it is handed back as it is, never reset.
public
steps(Node $node) : array<int, CrossJoin|HashJoin|Loader|Processor|Transformer>
Parameters
- $node : Node
Tags
Return values
array<int, CrossJoin|HashJoin|Loader|Processor|Transformer> —in execution order, a join as its operator alone; [] for a node that adds no step of its own