Flow PHP

CastingColumnBuilder implements ColumnBuilder

FinalYes

Interfaces

ColumnBuilder

Methods

__construct()  : mixed
append()  : void
A logical or raw value: Type::cast, then its physical form; null is validity 0, or ColumnMismatchException::valueDoesNotMatch() on a NOT NULL definition.
appendFrom()  : void
Copies one physical cell, no materialisation.
appendMany()  : void
appendPhysicals()  : void
Physical values exactly as Column::physicals() returns them - no cast, no conversion.
appendTake()  : void
count()  : int
finish()  : Column

Methods

append()

A logical or raw value: Type::cast, then its physical form; null is validity 0, or ColumnMismatchException::valueDoesNotMatch() on a NOT NULL definition.

public append(mixed $value) : void
Parameters
$value : mixed

appendMany()

public appendMany(array<string|int, mixed> $values) : void
Parameters
$values : array<string|int, mixed>

one cast loop per column - the bulk door

appendPhysicals()

Physical values exactly as Column::physicals() returns them - no cast, no conversion.

public appendPhysicals(array<int, mixed> $physicals[, int|null $nullCount = null ]) : void
Parameters
$physicals : array<int, mixed>
$nullCount : int|null = null

exactly the nulls among $physicals when the caller counted them, null otherwise - a count that is not exact is undefined behaviour

Tags
throws
SchemaMismatchException

appendTake()

public appendTake(Column $column, array<string|int, mixed> $indices) : void
Parameters
$column : Column
$indices : array<string|int, mixed>

gathered physically from $column

On this page

Search results