This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
R Extension
This extension allows you to include R within the Siddhi Query Language.
R function
Syntax |
}; |
---|---|
Extension Type | Eval Script |
Description | The <operation of the function> is an operation of the <function name> that is defined in the <language name> language, and the output is returned in the <return Type> specified. |
Parameters |
|
Example |
The above function takes n (variable) number of strings, concatenates them and returns the output. Input parameters are automatically input as an array. A stream can be defined as follows.
The eval script defined above can be used in this stream as follows.
|