public class EvalJavaScript extends Object implements org.wso2.siddhi.core.function.EvalScript
| Constructor and Description |
|---|
EvalJavaScript() |
| Modifier and Type | Method and Description |
|---|---|
Object |
eval(String name,
Object[] args) |
org.wso2.siddhi.query.api.definition.Attribute.Type |
getReturnType() |
void |
init(String name,
String body) |
void |
setReturnType(org.wso2.siddhi.query.api.definition.Attribute.Type returnType) |
public void init(String name, String body)
init in interface org.wso2.siddhi.core.function.EvalScriptpublic Object eval(String name, Object[] args)
eval in interface org.wso2.siddhi.core.function.EvalScriptpublic void setReturnType(org.wso2.siddhi.query.api.definition.Attribute.Type returnType)
setReturnType in interface org.wso2.siddhi.core.function.EvalScriptpublic org.wso2.siddhi.query.api.definition.Attribute.Type getReturnType()
getReturnType in interface org.wso2.siddhi.core.function.EvalScriptCopyright © 2022 WSO2. All Rights Reserved.