mirror of https://github.com/apache/nifi.git
NIFI-13736 Updated Expression Language Guide join function example (#9256)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
80b3cde95c
commit
9b7b246dcc
|
@ -2865,14 +2865,14 @@ provides several functions for evaluating the same conditions against groups of
|
|||
|
||||
*Return Type*: [.returnType]#String#
|
||||
|
||||
*Examples*: Given that the "abc" attribute contains the value "hello world", "xyz" contains "good bye world",
|
||||
and "filename" contains "file.txt" consider the following examples:
|
||||
*Examples*: Given that the "abc" attribute contains the value "hello world", "xyz" contains "goodbye world",
|
||||
consider the following examples:
|
||||
|
||||
.join Examples
|
||||
|=======================================================================================
|
||||
| Expression | Value
|
||||
| `${allMatchingAttributes("[ax].*"):substringBefore(" "):join("-")}` | `hello-good`
|
||||
| `${allAttributes("abc", "xyz"):join(" now")}` | `hello world nowgood bye world now`
|
||||
| `${allMatchingAttributes("[ax].*"):substringBefore(" "):join("-")}` | `hello-goodbye`
|
||||
| `${allAttributes("abc", "xyz"):join(" now ")}` | `hello world now goodbye world`
|
||||
|=======================================================================================
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue