Package io.siddhi.core.query
Class FindOnDemandQueryRuntime
- java.lang.Object
-
- io.siddhi.core.query.OnDemandQueryRuntime
-
- io.siddhi.core.query.FindOnDemandQueryRuntime
-
public class FindOnDemandQueryRuntime extends OnDemandQueryRuntime
on-demand query Runtime holds the runtime information needed for executing the on-demand query.
-
-
Constructor Summary
Constructors Constructor Description FindOnDemandQueryRuntime(AggregationRuntime aggregation, CompiledCondition compiledCondition, String queryName, MetaStreamEvent metaStreamEvent, SiddhiQueryContext siddhiQueryContext)FindOnDemandQueryRuntime(Table table, CompiledCondition compiledCondition, String queryName, MetaStreamEvent metaStreamEvent)FindOnDemandQueryRuntime(Window window, CompiledCondition compiledCondition, String queryName, MetaStreamEvent metaStreamEvent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Event[]execute()This method initiates the execution of on-demand Query.io.siddhi.core.query.OnDemandQueryRuntime.TYPEgetType()This method will return the type of the on-demand Query runtime.voidreset()This method is used to execute a on-demand Query when there is already on-demand Query runtime for that query.-
Methods inherited from class io.siddhi.core.query.OnDemandQueryRuntime
getOnDemandQueryOutputAttributes, setMetaStreamEvent, setOutputAttributes, setSelector, setStateEventFactory
-
-
-
-
Constructor Detail
-
FindOnDemandQueryRuntime
public FindOnDemandQueryRuntime(Table table, CompiledCondition compiledCondition, String queryName, MetaStreamEvent metaStreamEvent)
-
FindOnDemandQueryRuntime
public FindOnDemandQueryRuntime(Window window, CompiledCondition compiledCondition, String queryName, MetaStreamEvent metaStreamEvent)
-
FindOnDemandQueryRuntime
public FindOnDemandQueryRuntime(AggregationRuntime aggregation, CompiledCondition compiledCondition, String queryName, MetaStreamEvent metaStreamEvent, SiddhiQueryContext siddhiQueryContext)
-
-
Method Detail
-
execute
public Event[] execute()
Description copied from class:OnDemandQueryRuntimeThis method initiates the execution of on-demand Query.- Overrides:
executein classOnDemandQueryRuntime- Returns:
- an array of Events.
-
reset
public void reset()
Description copied from class:OnDemandQueryRuntimeThis method is used to execute a on-demand Query when there is already on-demand Query runtime for that query.- Specified by:
resetin classOnDemandQueryRuntime
-
getType
public io.siddhi.core.query.OnDemandQueryRuntime.TYPE getType()
Description copied from class:OnDemandQueryRuntimeThis method will return the type of the on-demand Query runtime.- Specified by:
getTypein classOnDemandQueryRuntime- Returns:
- type of on-demand Query runtime. (one of the types DELETE, INSERT, SELECT, UPDATE, FIND or UPDATE OR INSERT)
-
-