LimitOptimization implements Optimization
FinalYes
The limit operator stays in the plan, so a step missing from the allow-lists only costs the push; a step that changes the row count on them would make the source read too few rows.
Interfaces
Methods
- isFor() : bool
- optimize() : Pipeline
Methods
isFor()
public
isFor(Loader|Transformer $element, Pipeline $pipeline) : bool
Parameters
- $element : Loader|Transformer
- $pipeline : Pipeline
Return values
booloptimize()
public
optimize(Loader|Transformer $element, Pipeline $pipeline) : Pipeline
Parameters
- $element : Loader|Transformer
- $pipeline : Pipeline