public class FunctionDefinition extends Object implements SiddhiElement
| Constructor and Description |
|---|
FunctionDefinition() |
| Modifier and Type | Method and Description |
|---|---|
FunctionDefinition |
body(String body) |
String |
getBody() |
String |
getId() |
String |
getLanguage() |
int[] |
getQueryContextEndIndex() |
int[] |
getQueryContextStartIndex() |
Attribute.Type |
getReturnType() |
FunctionDefinition |
id(String functionID) |
FunctionDefinition |
language(String language) |
void |
setQueryContextEndIndex(int[] lineAndColumn) |
void |
setQueryContextStartIndex(int[] lineAndColumn) |
FunctionDefinition |
type(Attribute.Type type) |
public Attribute.Type getReturnType()
public String getLanguage()
public String getBody()
public String getId()
public FunctionDefinition language(String language)
public FunctionDefinition body(String body)
public FunctionDefinition id(String functionID)
public FunctionDefinition type(Attribute.Type type)
public int[] getQueryContextStartIndex()
getQueryContextStartIndex in interface SiddhiElementpublic void setQueryContextStartIndex(int[] lineAndColumn)
setQueryContextStartIndex in interface SiddhiElementpublic int[] getQueryContextEndIndex()
getQueryContextEndIndex in interface SiddhiElementpublic void setQueryContextEndIndex(int[] lineAndColumn)
setQueryContextEndIndex in interface SiddhiElementCopyright © 2019. All rights reserved.