public class IncrementalStartTimeEndTimeFunctionExecutor extends FunctionExecutor
attributeExpressionExecutors, functionId, processingMode, siddhiQueryContext
Constructor and Description |
---|
IncrementalStartTimeEndTimeFunctionExecutor() |
Modifier and Type | Method and Description |
---|---|
protected Object |
execute(Object[] data,
State state)
The main execution method which will be called upon event arrival
when there are more then one function parameter
|
protected Object |
execute(Object data,
State state)
The main execution method which will be called upon event arrival
when there are zero or one function parameter
|
io.siddhi.query.api.definition.Attribute.Type |
getReturnType() |
protected StateFactory |
init(ExpressionExecutor[] attributeExpressionExecutors,
ConfigReader configReader,
SiddhiQueryContext siddhiQueryContext)
The initialization method for FunctionExecutor, this method will be called before the other methods
|
execute, execute, execute, initExecutor
public IncrementalStartTimeEndTimeFunctionExecutor()
protected StateFactory init(ExpressionExecutor[] attributeExpressionExecutors, ConfigReader configReader, SiddhiQueryContext siddhiQueryContext)
FunctionExecutor
init
in class FunctionExecutor
attributeExpressionExecutors
- are the executors of each function parametersconfigReader
- This hold the FunctionExecutor
extensions configuration reader.siddhiQueryContext
- the context of the siddhi queryprotected Object execute(Object[] data, State state)
FunctionExecutor
execute
in class FunctionExecutor
data
- the runtime values of function parametersstate
- current query stateprotected Object execute(Object data, State state)
FunctionExecutor
execute
in class FunctionExecutor
data
- null if the function parameter count is zero or
runtime data value of the function parameterstate
- current query statepublic io.siddhi.query.api.definition.Attribute.Type getReturnType()
Copyright © 2021. All rights reserved.