Package io.siddhi.query.api
Class SiddhiApp
- java.lang.Object
-
- io.siddhi.query.api.SiddhiApp
-
- All Implemented Interfaces:
SiddhiElement,Serializable
public class SiddhiApp extends Object implements SiddhiElement
Siddhi siddhi app- See Also:
- Serialized Form
-
-
Method Summary
-
-
-
Constructor Detail
-
SiddhiApp
public SiddhiApp(String name)
-
SiddhiApp
public SiddhiApp(List<Annotation> annotations)
-
SiddhiApp
public SiddhiApp()
-
-
Method Detail
-
siddhiApp
public static SiddhiApp siddhiApp()
-
getFunctionDefinitionMap
public Map<String,FunctionDefinition> getFunctionDefinitionMap()
-
defineStream
public SiddhiApp defineStream(StreamDefinition streamDefinition)
-
defineAggregation
public SiddhiApp defineAggregation(AggregationDefinition aggregationDefinition)
-
defineTable
public SiddhiApp defineTable(TableDefinition tableDefinition)
-
defineWindow
public SiddhiApp defineWindow(WindowDefinition windowDefinition)
-
defineTrigger
public SiddhiApp defineTrigger(TriggerDefinition triggerDefinition)
-
annotation
public SiddhiApp annotation(Annotation annotation)
-
getAnnotations
public List<Annotation> getAnnotations()
-
getExecutionElementList
public List<ExecutionElement> getExecutionElementList()
-
getStreamDefinitionMap
public Map<String,StreamDefinition> getStreamDefinitionMap()
-
getTableDefinitionMap
public Map<String,TableDefinition> getTableDefinitionMap()
-
getTriggerDefinitionMap
public Map<String,TriggerDefinition> getTriggerDefinitionMap()
-
getWindowDefinitionMap
public Map<String,WindowDefinition> getWindowDefinitionMap()
-
getAggregationDefinitionMap
public Map<String,AggregationDefinition> getAggregationDefinitionMap()
-
defineFunction
public SiddhiApp defineFunction(FunctionDefinition functionDefinition)
-
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
-
-