XMLNodeBatches
Read onlyYes
FinalYes
Methods
- __construct() : mixed
- batch() : Rows
- The node column built from $nodes; every other column $body declares is padded as matchTo() pads it.
- documents() : Generator<int, Rows>
- physicals() : Generator<int, Rows>
- strings() : Generator<int, Rows>
Methods
__construct()
public
__construct(XMLNodes $nodes, int<1, max> $batchSize, int<1, max> $bufferSize) : mixed
Parameters
- $nodes : XMLNodes
- $batchSize : int<1, max>
- $bufferSize : int<1, max>
-
bytes read from the stream at a time
batch()
The node column built from $nodes; every other column $body declares is padded as matchTo() pads it.
public
batch(Definition<string|int, mixed> $node, array<int, mixed> $nodes, Schema $body, Backend $backend) : Rows
Parameters
- $node : Definition<string|int, mixed>
- $nodes : array<int, mixed>
- $body : Schema
- $backend : Backend
Return values
Rowsdocuments()
public
documents(SourceStream $stream, Schema $body, Backend $backend) : Generator<int, Rows>
Parameters
- $stream : SourceStream
- $body : Schema
- $backend : Backend
Return values
Generator<int, Rows>physicals()
public
physicals(SourceStream $stream, XMLDefinition $node, Schema $body, Backend $backend) : Generator<int, Rows>
Parameters
- $stream : SourceStream
- $node : XMLDefinition
- $body : Schema
- $backend : Backend
Return values
Generator<int, Rows>strings()
public
strings(SourceStream $stream, Schema $body, Backend $backend) : Generator<int, Rows>
Parameters
- $stream : SourceStream
- $body : Schema
- $backend : Backend