BucketingStrategy
Methods
- bucketize() : Generator<string|int, Bucket>
- Consumes the row stream, spills bucket data into the storage and yields each Bucket once it is complete - the strategy alone decides when and how buckets are stored.
Methods
bucketize()
Consumes the row stream, spills bucket data into the storage and yields each Bucket once it is complete - the strategy alone decides when and how buckets are stored.
public
bucketize(Generator<string|int, Rows> $rows, BucketsStorage $storage) : Generator<string|int, Bucket>
Parameters
- $rows : Generator<string|int, Rows>
- $storage : BucketsStorage