Flow PHP

ExternalSortBuilder implements SortAlgorithmBuilder

FinalYes

Interfaces

SortAlgorithmBuilder

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

batchSize()

public batchSize(int<1, max> $batchSize) : self
Parameters
$batchSize : int<1, max>
Return values
self

bucketsCount()

public bucketsCount(int<1, max> $bucketsCount) : self
Parameters
$bucketsCount : int<1, max>
Return values
self

memoryLimit()

The process memory past which the sort spills sorted runs; defaults to MemoryLimit::default().

public memoryLimit(Unit $memoryLimit) : self
Parameters
$memoryLimit : Unit
Return values
self

mergeStorage()

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
self
On this page

Search results