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.EvalScript
public Object eval(String name, Object[] args)
eval
in interface org.wso2.siddhi.core.function.EvalScript
public void setReturnType(org.wso2.siddhi.query.api.definition.Attribute.Type returnType)
setReturnType
in interface org.wso2.siddhi.core.function.EvalScript
public org.wso2.siddhi.query.api.definition.Attribute.Type getReturnType()
getReturnType
in interface org.wso2.siddhi.core.function.EvalScript
Copyright © 2015 WSO2. All Rights Reserved.