LimitableExtractor extends Extractor
Limitable extractor is one that can be limited to extract only given number of rows.
Whenever limit is set in a pipeline before any transformations, LogicalPlan processor will try to grab that limit and inject it directly to the extractor to avoid unnecessary processing.
Methods
- changeLimit() : void
- extract() : Generator<string|int, Rows>
- isLimited() : bool
Methods
changeLimit()
public
changeLimit(int $limit) : void
Parameters
- $limit : int
extract()
public
extract(FlowContext $context) : Generator<string|int, Rows>
Parameters
- $context : FlowContext
Return values
Generator<string|int, Rows>isLimited()
public
isLimited() : bool