public abstract class OnDemandQueryRuntime extends Object
Constructor and Description |
---|
OnDemandQueryRuntime() |
Modifier and Type | Method and Description |
---|---|
Event[] |
execute()
This method initiates the execution of on-demand Query.
|
io.siddhi.query.api.definition.Attribute[] |
getOnDemandQueryOutputAttributes()
This method will return the output attributes name and its types.
|
abstract io.siddhi.core.query.OnDemandQueryRuntime.TYPE |
getType()
This method will return the type of the on-demand Query runtime.
|
abstract void |
reset()
This method is used to execute a on-demand Query when there is already on-demand Query runtime for that query.
|
void |
setMetaStreamEvent(MetaStreamEvent metaStreamEvent) |
void |
setOutputAttributes(List<io.siddhi.query.api.definition.Attribute> outputAttributeList)
This method sets the output attribute list of the given on-demand Query.
|
void |
setSelector(QuerySelector selector)
This method sets selector for the delete on-demand Query runtime.
|
void |
setStateEventFactory(StateEventFactory stateEventFactory)
This method sets a state event pool for on-demand Query runtime.
|
public Event[] execute()
public void setStateEventFactory(StateEventFactory stateEventFactory)
stateEventFactory
- stateEventFactory for the on-demand Query runtimepublic void setOutputAttributes(List<io.siddhi.query.api.definition.Attribute> outputAttributeList)
outputAttributeList
- of the on-demand Querypublic io.siddhi.query.api.definition.Attribute[] getOnDemandQueryOutputAttributes()
public void setSelector(QuerySelector selector)
selector
- for the on-demand Querypublic abstract void reset()
public abstract io.siddhi.core.query.OnDemandQueryRuntime.TYPE getType()
public void setMetaStreamEvent(MetaStreamEvent metaStreamEvent)
Copyright © 2021. All rights reserved.