Flow PHP

ScalarFunctionTransformer implements Transformer, SpanAttributes

Read onlyYes
FinalYes

Interfaces

Transformer
SpanAttributes

Properties

$function  : ScalarFunction

Methods

__construct()  : mixed
bind()  : BoundStep<string|int, Transformer>
columnName()  : string
describe()  : null|Description
fromDescription()  : static
spanAttributes()  : array<string, bool|float|int|string>
transform()  : Rows

Properties

Methods

__construct()

public __construct(Definition<string|int, mixed>|string $column, ScalarFunction $function[, null|ScalarFunction $resolved = null ][, null|Definition<string|int, mixed> $derived = null ][, null|Schema $output = null ][, null|Schema $declared = null ]) : mixed
Parameters
$column : Definition<string|int, mixed>|string
$function : ScalarFunction
$resolved : null|ScalarFunction = null

the function resolved against the bound schema

$derived : null|Definition<string|int, mixed> = null

the column this step declares

$output : null|Schema = null

the schema this step declares

$declared : null|Schema = null

the columns an unpack declares, before the prefix

fromDescription()

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

spanAttributes()

public spanAttributes() : array<string, bool|float|int|string>
Return values
array<string, bool|float|int|string>
On this page

Search results