DuplicateRowTransformer implements Transformer
Read onlyYes
FinalYes
Interfaces
Methods
- __construct() : mixed
- bind() : BoundStep<string|int, Transformer>
- describe() : null|Description
- fromDescription() : static
- transform() : Rows
Methods
__construct()
public
__construct(mixed $condition, array<int, ScalarFunctionTransformer> $columns[, mixed $resolved = null ][, null|Schema $output = null ][, null|array<int, BoundStep> $steps = null ]) : mixed
Parameters
- $condition : mixed
- $columns : array<int, ScalarFunctionTransformer>
- $resolved : mixed = null
-
the condition resolved against the bound schema; null while unbound
- $output : null|Schema = null
-
the schema this step declares; null while unbound, the unbound path derives it per batch
- $steps : null|array<int, BoundStep> = null
-
the column steps, each bound over the previous one's output; null while unbound
bind()
public
bind(Schema $input) : BoundStep<string|int, Transformer>
Parameters
- $input : Schema
Return values
BoundStep<string|int, Transformer>describe()
public
describe() : null|Description
Return values
null|Description —null when this instance cannot cross a process boundary (a live client, a custom collaborator)
fromDescription()
public
static fromDescription(array<string|int, mixed> $data, Rebuild $rebuild) : static
Parameters
- $data : array<string|int, mixed>
- $rebuild : Rebuild
Return values
statictransform()
public
transform(Rows $rows, Backend $backend) : Rows