Flow PHP

FloeFileBatches implements OffsetSkippingFileBatches

Read onlyYes
FinalYes

Interfaces

OffsetSkippingFileBatches

Methods

__construct()  : mixed
batches()  : Generator<mixed, void>
Skips the whole file when the window's offset covers it; otherwise reads from the offset. A split owns the sections whose midpoint its byte window holds, and a window without a length owns every section.
close()  : void
describe()  : null|Description
fromDescription()  : static

Methods

batches()

Skips the whole file when the window's offset covers it; otherwise reads from the offset. A split owns the sections whose midpoint its byte window holds, and a window without a length owns every section.

public batches(FileRead $read, Criteria $criteria, SourceFile $source, Schema $body, Backend $backend, ReadWindow $window) : Generator<mixed, void>
Parameters
$read : FileRead
$criteria : Criteria
$source : SourceFile
$body : Schema
$backend : Backend
$window : ReadWindow
Tags
throws
InferredSchemaException
Return values
Generator<mixed, void>

fromDescription()

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

Search results