Package io.siddhi.core.query
Class UpdateOnDemandQueryRuntime
- java.lang.Object
-
- io.siddhi.core.query.OnDemandQueryRuntime
-
- io.siddhi.core.query.UpdateOnDemandQueryRuntime
-
public class UpdateOnDemandQueryRuntime extends OnDemandQueryRuntime
This class is used to keep the runtime information needed to execute an update on-demand query.
-
-
Constructor Summary
Constructors Constructor Description UpdateOnDemandQueryRuntime(String queryName, MetaStreamEvent metaStreamEvent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
execute, getOnDemandQueryOutputAttributes, setMetaStreamEvent, setOutputAttributes, setSelector, setStateEventFactory
-
-
-
-
Constructor Detail
-
UpdateOnDemandQueryRuntime
public UpdateOnDemandQueryRuntime(String queryName, MetaStreamEvent metaStreamEvent)
-
-
Method Detail
-
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)
-
-