ColumnBuilder
Methods
- 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
appendFrom()
Copies one physical cell, no materialisation.
public
appendFrom(Column $column, int $i) : void
Parameters
- $column : Column
- $i : int
appendMany()
public
appendMany(array<int, mixed> $values) : void
Parameters
- $values : array<int, mixed>
-
one cast loop per column - the bulk door
Tags
appendPhysicals()
Physical values exactly as Column::physicals() returns them - no cast, no conversion.
public
appendPhysicals(array<int, mixed> $physicals[, null|int $nullCount = null ]) : void
Parameters
- $physicals : array<int, mixed>
- $nullCount : null|int = null
-
exactly the nulls among $physicals when the caller counted them, null otherwise - a count that is not exact is undefined behaviour
Tags
appendTake()
public
appendTake(Column $column, array<int, int> $indices) : void
Parameters
- $column : Column
- $indices : array<int, int>
-
gathered physically from $column
count()
public
count() : int
Return values
intfinish()
public
finish() : Column