the type of the Map entry key
the type of the Map entry value
Create a ScriptProcessor that wraps a script written in the specified language and identified by the specified name. The specified args will be passed during execution of the script.
the language the script is written. Currently, only
js
(for JavaScript) is supported
the name of the EntryProcessor that needs to be executed
Optional
args: any[]the arguments to be passed to the EntryProcessor
Protected
argsThe arguments to pass to the script
Protected
Readonly
languageThe scripting language identifier.
Protected
Readonly
nameThe script name.
Returns a CompositeProcessor comprised of this and the provided processor.
a CompositeProcessor comprised of this and the provided processor
the next processor
Returns a ConditionalProcessor comprised of this processor and the provided filter.
The specified entry processor gets invoked if and only if the filter
applied to the entry evaluates to true
; otherwise the
result of the invocation will return null
.
the filter
ScriptProcessor wraps a script written in one of the languages supported by Graal VM.
Type Parma
R the type of value returned by the processor