ExternalSortBuilder implements SortAlgorithmBuilder
FinalYes
Interfaces
Methods
- __construct() : mixed
- batchSize() : self
- bucketsCount() : self
- build() : ExternalSortConfig
- memoryLimit() : self
- The process memory past which the sort spills sorted runs; defaults to MemoryLimit::default().
- mergeStorage() : self
- Storage for merged runs only. Defaults to the spill storage, so storage() keeps covering both phases.
- 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, Backend $backend) : ExternalSortConfig
Parameters
- $spillRoot : Path
- $backend : Backend
Return values
ExternalSortConfigmemoryLimit()
The process memory past which the sort spills sorted runs; defaults to MemoryLimit::default().
public
memoryLimit(Unit $memoryLimit) : self
Parameters
- $memoryLimit : Unit
Return values
selfmergeStorage()
Storage for merged runs only. Defaults to the spill storage, so storage() keeps covering both phases.
public
mergeStorage(RowsStorage $storage) : self
Parameters
- $storage : RowsStorage
Return values
selfstorage()
public
storage(RowsStorage $storage) : self
Parameters
- $storage : RowsStorage