BucketingConfigBuilder
FinalYes
Methods
- __construct() : mixed
- batchSize() : self
- bucketsCount() : self
- build() : BucketingConfig
- filesystemProtocol() : self
- storage() : self
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(FilesystemTable $filesystemTable, Path $localFilesystemCacheDir) : BucketingConfig
Parameters
- $filesystemTable : FilesystemTable
- $localFilesystemCacheDir : Path
Return values
BucketingConfigfilesystemProtocol()
public
filesystemProtocol(string $protocol) : self
Parameters
- $protocol : string
Return values
selfstorage()
public
storage(BucketsStorage $storage) : self
Parameters
- $storage : BucketsStorage