Package io.siddhi.query.api.definition
Class FunctionDefinition
- java.lang.Object
-
- io.siddhi.query.api.definition.FunctionDefinition
-
- All Implemented Interfaces:
SiddhiElement,Serializable
public class FunctionDefinition extends Object implements SiddhiElement
Siddhi inline function definition- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FunctionDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionDefinitionbody(String body)StringgetBody()StringgetId()StringgetLanguage()int[]getQueryContextEndIndex()int[]getQueryContextStartIndex()Attribute.TypegetReturnType()FunctionDefinitionid(String functionID)FunctionDefinitionlanguage(String language)voidsetQueryContextEndIndex(int[] lineAndColumn)voidsetQueryContextStartIndex(int[] lineAndColumn)FunctionDefinitiontype(Attribute.Type type)
-
-
-
Method Detail
-
getReturnType
public Attribute.Type getReturnType()
-
getLanguage
public String getLanguage()
-
getBody
public String getBody()
-
getId
public String getId()
-
language
public FunctionDefinition language(String language)
-
body
public FunctionDefinition body(String body)
-
id
public FunctionDefinition id(String functionID)
-
type
public FunctionDefinition type(Attribute.Type type)
-
getQueryContextStartIndex
public int[] getQueryContextStartIndex()
- Specified by:
getQueryContextStartIndexin interfaceSiddhiElement
-
setQueryContextStartIndex
public void setQueryContextStartIndex(int[] lineAndColumn)
- Specified by:
setQueryContextStartIndexin interfaceSiddhiElement
-
getQueryContextEndIndex
public int[] getQueryContextEndIndex()
- Specified by:
getQueryContextEndIndexin interfaceSiddhiElement
-
setQueryContextEndIndex
public void setQueryContextEndIndex(int[] lineAndColumn)
- Specified by:
setQueryContextEndIndexin interfaceSiddhiElement
-
-