ExternalSortBuilder implements SortAlgorithmBuilder
FinalYes
Interfaces
Methods
- __construct() : mixed
- batchSize() : self
- bucketsCount() : self
- build() : ExternalSortConfig
- mergeStorage() : self
- Storage for merged runs only. Defaults to the spill storage, so storage() keeps covering both phases.
- runSize() : self
- storage() : self
Methods
__construct()
public
__construct() : mixed
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) : ExternalSortConfig
Parameters
- $spillRoot : Path
Return values
ExternalSortConfigmergeStorage()
Storage for merged runs only. Defaults to the spill storage, so storage() keeps covering both phases.
public
mergeStorage(BucketsStorage $storage) : self
Parameters
- $storage : BucketsStorage
Return values
selfrunSize()
public
runSize(int<1, max> $runSize) : self
Parameters
- $runSize : int<1, max>
Return values
selfstorage()
public
storage(BucketsStorage $storage) : self
Parameters
- $storage : BucketsStorage