BranchLoader implements NestedLoader
FinalYes
The planner's step that feeds one branch pipeline: a write with steps of its own, or a node several writes share.
Interfaces
- NestedLoader
- Not a Loader: it is never described, and it returns its outcome to the runner instead of throwing it.
Methods
- __construct() : mixed
- closure() : void
- discard() : void
- load() : LoadingError|TransformationError|null
Methods
__construct()
public
__construct(FeedExtractor $feed, BranchFiber $run, OfferedFailure $offers, Loader|NestedLoader ...$writes) : mixed
Parameters
- $feed : FeedExtractor
- $run : BranchFiber
- $offers : OfferedFailure
- $writes : Loader|NestedLoader
-
the branch pipeline's last steps, which a completed run's discard() is forwarded to
Tags
closure()
public
closure() : void
discard()
public
discard() : void
load()
public
load(Rows $rows) : LoadingError|TransformationError|null
Parameters
- $rows : Rows
Return values
LoadingError|TransformationError|null —the failure no handler has decided yet, for the caller to offer once; null when written. A thrown failure surfaces as it is: a handler decided it, or no user step raised it.