mirror of https://github.com/apache/nifi.git
Fixed a couple of typos in the RecordPath guide
This commit is contained in:
parent
a9e9e5d137
commit
d195702ee2
|
@ -285,7 +285,7 @@ To illustrate this, let's take the following Record as an example:
|
|||
}
|
||||
----
|
||||
|
||||
Now we can use a Predicate to choose only the fields where the state is not New York. For example, we can use `/*[./state != 'NY']`. This will select any Record field
|
||||
Now we can use a Predicate to choose only the fields where the state is not New York. For example, we can use `/\*[./state != 'NY']`. This will select any Record field
|
||||
that has a `state` field if the state does not have a value of "NY". Note that the `details` Record will not be returned because it does not have a field named `state`.
|
||||
So in this example, the RecordPath will select only the `homeAddress` field. Once we have selected that field, we can continue on with our RecordPath. As we stated
|
||||
above, we can select the `zip` field: `/*[./state != 'NY']/zip`. This RecordPath will result in selecting the `zip` field only from the `homeAddress` field.
|
||||
|
@ -778,7 +778,7 @@ The following record path expression would decode the String using Base64:
|
|||
| `base64Decode(/name)` | John
|
||||
|==========================================================
|
||||
|
||||
=== PadLeft
|
||||
=== padLeft
|
||||
|
||||
Prepends characters to the input String until it reaches the desired length.
|
||||
|
||||
|
@ -809,7 +809,7 @@ The following record path expression would prepend '@' characters to the input S
|
|||
|
||||
|
||||
|
||||
=== PadRight
|
||||
=== padRight
|
||||
|
||||
Appends characters to the input String until it reaches the desired length.
|
||||
|
||||
|
|
Loading…
Reference in New Issue