You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Benjamin Garrett <be...@gmail.com> on 2020/03/30 21:00:37 UTC
recordpath custom functions?
Hi,
I was looking at the RecordPath / RecordReader API docs and I was wondering
whether it was possible to write custom functions that could be plugged in?
https://nifi.apache.org/docs/nifi-docs/html/record-path-guide.html#functions
Thanks in advance!
Ben
Re: recordpath custom functions?
Posted by Bryan Bende <bb...@gmail.com>.
Hi Ben,
At the moment we don't support custom record path functions.
You would have to add the function here:
https://github.com/apache/nifi/tree/master/nifi-commons/nifi-record-path/src/main/java/org/apache/nifi/record/path/functions
and update the compiler here:
https://github.com/apache/nifi/blob/master/nifi-commons/nifi-record-path/src/main/java/org/apache/nifi/record/path/paths/RecordPathCompiler.java#L207
Thanks,
Bryan
On Mon, Mar 30, 2020 at 5:01 PM Benjamin Garrett <
benjamingarrett99@gmail.com> wrote:
> Hi,
>
> I was looking at the RecordPath / RecordReader API docs and I was
> wondering whether it was possible to write custom functions that could be
> plugged in?
>
>
> https://nifi.apache.org/docs/nifi-docs/html/record-path-guide.html#functions
>
> Thanks in advance!
> Ben
>