Flow PHP

Config

Read onlyYes
FinalYes

Immutable configuration that can be used to initialize many contexts.

Configuration must not be changed after it's passed to FlowContext.

Properties

$cache  : CacheConfig
$grouping  : HashGroupByConfig
$join  : HashJoinConfig
$sort  : MemorySortConfig|ExternalSortConfig
$telemetry  : TelemetryConfig

Methods

__construct()  : mixed
analyze()  : Analyze|null
builder()  : ConfigBuilder
calculator()  : Calculator
clock()  : ClockInterface
default()  : self
entryFactory()  : EntryFactory
extractorBatchSize()  : int<1, max>
filesystemStreams()  : FilesystemStreams
fstab()  : FilesystemTable
hydrator()  : Hydrator
id()  : string
name()  : string
optimizer()  : Optimizer
randomValueGenerator()  : RandomValueGenerator
serializer()  : Serializer
shouldPutInputIntoRows()  : bool
version()  : string

Properties

Methods

__construct()

public __construct(string $id, string $name, string $version, Serializer $serializer, ClockInterface $clock, FilesystemTable $filesystemTable, FilesystemStreams $filesystemStreams, Optimizer $optimizer, bool $putInputIntoRows, Hydrator $hydrator, CacheConfig $cache, MemorySortConfig|ExternalSortConfig $sort, Analyze|null $analyze, TelemetryConfig $telemetry, HashGroupByConfig $grouping, HashJoinConfig $join[, int<1, max> $extractorBatchSize = 1000 ][, EntryFactory $entryFactory = new EntryFactory() ][, Calculator $calculator = new Calculator() ][, RandomValueGenerator $randomValueGenerator = new NativePHPRandomValueGenerator() ]) : mixed
Parameters
$id : string
$name : string
$version : string
$serializer : Serializer
$clock : ClockInterface
$filesystemTable : FilesystemTable
$filesystemStreams : FilesystemStreams
$optimizer : Optimizer
$putInputIntoRows : bool
$hydrator : Hydrator
$cache : CacheConfig
$sort : MemorySortConfig|ExternalSortConfig
$analyze : Analyze|null
$telemetry : TelemetryConfig
$grouping : HashGroupByConfig
$join : HashJoinConfig
$extractorBatchSize : int<1, max> = 1000
$entryFactory : EntryFactory = new EntryFactory()
$calculator : Calculator = new Calculator()
$randomValueGenerator : RandomValueGenerator = new NativePHPRandomValueGenerator()

clock()

public clock() : ClockInterface
Return values
ClockInterface

default()

public static default() : self
Return values
self

extractorBatchSize()

public extractorBatchSize() : int<1, max>
Return values
int<1, max>

fstab()

public fstab() : FilesystemTable
Return values
FilesystemTable

id()

public id() : string
Return values
string

name()

public name() : string
Return values
string

serializer()

public serializer() : Serializer
Return values
Serializer

shouldPutInputIntoRows()

public shouldPutInputIntoRows() : bool
Return values
bool

version()

public version() : string
Return values
string
On this page

Search results