MergeSortProcessor implements Processor
FinalYes
Interfaces
- Processor
Methods
- __construct() : mixed
- bind() : BoundStep
- process() : Generator
Methods
__construct()
public
__construct(References $refs, Buckets $spill, Buckets $merge, RandomValueGenerator $random[, int<1, max> $mergeFanIn = 10 ][, int<1, max> $batchSize = 1000 ]) : mixed
Parameters
- $refs : References
- $spill : Buckets
- $merge : Buckets
- $random : RandomValueGenerator
- $mergeFanIn : int<1, max> = 10
- $batchSize : int<1, max> = 1000
bind()
public
bind(Schema $input) : BoundStep
Parameters
- $input : Schema
Return values
BoundStepprocess()
public
process(Generator $rows, FlowContext $context) : Generator
Parameters
- $rows : Generator
- $context : FlowContext