Flow PHP

FileSplitReader implements Describable, Reader, CorruptedRecordsRouter

Read onlyYes
FinalYes

Interfaces

Describable
Reader
CorruptedRecordsRouter

Methods

__construct()  : mixed
corruptedRecordsLoader()  : Loader|null
describe()  : null|Description
extract()  : Generator<null|Signal, void>
The read of a source with every state resolved (schema, options, inference): the whole plan scan in-process, one split of it in a worker. A record that cannot become a row is yielded as its CorruptedRecordException.
fromDescription()  : static
withCorruptedRecords()  : static
Corrupted records routed to $loader; null refuses them, the default.

Methods

extract()

The read of a source with every state resolved (schema, options, inference): the whole plan scan in-process, one split of it in a worker. A record that cannot become a row is yielded as its CorruptedRecordException.

public extract(Backend $backend, Criteria $criteria) : Generator<null|Signal, void>
Parameters
$backend : Backend
$criteria : Criteria
Return values
Generator<null|Signal, void>

fromDescription()

public static fromDescription(array<string|int, mixed> $data, Rebuild $rebuild) : static
Parameters
$data : array<string|int, mixed>
$rebuild : Rebuild
Return values
static

withCorruptedRecords()

Corrupted records routed to $loader; null refuses them, the default.

public withCorruptedRecords(Loader|null $loader) : static
Parameters
$loader : Loader|null
Return values
static
On this page

Search results