ListReduce
Run the provided udf over a delimited list to reduce the values to a single output
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| The delimited list to perform operations on | |
|
|
| The function to invoke for each item. The function will be passed 3 arguments: the value, the index, the array. You can alternatively pass a Java BiFunction which will only receive the ffirst 2 args. | |
|
|
| The initial value of the reduction | |
|
|
| string the list delimiter |
|
|
|
| boolean whether to include empty fields in the returned result |
|
|
|
| boolean whether the delimiter is multi-character |
|
Examples
Related
Last updated