BucketingConfigBuilder implements BucketingAlgorithmBuilder
FinalYes
Interfaces
Constants
- DEFAULT_BATCH_SIZE : int = 1000
Methods
- __construct() : mixed
- batchSize() : self
- bucketsCount() : self
- build() : BucketingConfig
- groupBy() : self
- memoryLimit() : self
- The process memory past which rows move to the storage; defaults to MemoryLimit::default().
- repartition() : self
- storage() : self
Constants
DEFAULT_BATCH_SIZE
public
int
DEFAULT_BATCH_SIZE
= 1000
Methods
__construct()
public
__construct(string $spillDirectory, int<1, max> $bucketsCount) : mixed
Parameters
- $spillDirectory : string
- $bucketsCount : int<1, max>
batchSize()
public
batchSize(int<1, max> $batchSize) : self
Parameters
- $batchSize : int<1, max>
Return values
selfbucketsCount()
public
bucketsCount(int<1, max> $bucketsCount) : self
Parameters
- $bucketsCount : int<1, max>
Return values
selfbuild()
public
build(Path $spillRoot, Backend $backend) : BucketingConfig
Parameters
- $spillRoot : Path
- $backend : Backend
Return values
BucketingConfiggroupBy()
public
static groupBy() : self
Return values
selfmemoryLimit()
The process memory past which rows move to the storage; defaults to MemoryLimit::default().
public
memoryLimit(Unit $memoryLimit) : self
Parameters
- $memoryLimit : Unit
Return values
selfrepartition()
public
static repartition() : self
Return values
selfstorage()
public
storage(RowsStorage $storage) : self
Parameters
- $storage : RowsStorage