Selection
Read onlyYes
FinalYes
Methods
- __construct() : mixed
- evaluate() : Column
- $function over the selected rows only; an error names the row of $rows it failed on.
- truths() : array<int, bool|null>
Methods
__construct()
public
__construct(array<int, int> $indices) : mixed
Parameters
- $indices : array<int, int>
-
ascending rows of the batch passed to evaluate()
evaluate()
$function over the selected rows only; an error names the row of $rows it failed on.
public
evaluate(ScalarFunction $function, Rows $rows, Backend $backend) : Column
Parameters
- $function : ScalarFunction
- $rows : Rows
- $backend : Backend
Return values
Columntruths()
public
truths(ScalarFunction $function, Rows $rows, Backend $backend) : array<int, bool|null>
Parameters
- $function : ScalarFunction
- $rows : Rows
- $backend : Backend
Return values
array<int, bool|null> —null for null, PHP truthiness of the logical value otherwise