Class IncrementalShouldUpdateFunctionExecutor
- java.lang.Object
-
- io.siddhi.core.executor.function.FunctionExecutor<io.siddhi.core.executor.incremental.IncrementalShouldUpdateFunctionExecutor.FunctionState>
-
- io.siddhi.core.executor.incremental.IncrementalShouldUpdateFunctionExecutor
-
- All Implemented Interfaces:
ExpressionExecutor,Serializable
public class IncrementalShouldUpdateFunctionExecutor extends FunctionExecutor<io.siddhi.core.executor.incremental.IncrementalShouldUpdateFunctionExecutor.FunctionState>
Execute class for shouldUpdate() function.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class io.siddhi.core.executor.function.FunctionExecutor
attributeExpressionExecutors, functionId, processingMode, siddhiQueryContext
-
-
Constructor Summary
Constructors Constructor Description IncrementalShouldUpdateFunctionExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Objectexecute(Object[] data, io.siddhi.core.executor.incremental.IncrementalShouldUpdateFunctionExecutor.FunctionState state)The main execution method which will be called upon event arrival when there are more then one function parameterprotected Objectexecute(Object data, io.siddhi.core.executor.incremental.IncrementalShouldUpdateFunctionExecutor.FunctionState state)return true/false based on timestamp valuesio.siddhi.query.api.definition.Attribute.TypegetReturnType()protected StateFactory<io.siddhi.core.executor.incremental.IncrementalShouldUpdateFunctionExecutor.FunctionState>init(ExpressionExecutor[] attributeExpressionExecutors, ConfigReader configReader, SiddhiQueryContext siddhiQueryContext)The initialization method for FunctionExecutor, this method will be called before the other methods-
Methods inherited from class io.siddhi.core.executor.function.FunctionExecutor
execute, execute, execute, initExecutor
-
-
-
-
Method Detail
-
init
protected StateFactory<io.siddhi.core.executor.incremental.IncrementalShouldUpdateFunctionExecutor.FunctionState> init(ExpressionExecutor[] attributeExpressionExecutors, ConfigReader configReader, SiddhiQueryContext siddhiQueryContext)
Description copied from class:FunctionExecutorThe initialization method for FunctionExecutor, this method will be called before the other methods- Specified by:
initin classFunctionExecutor<io.siddhi.core.executor.incremental.IncrementalShouldUpdateFunctionExecutor.FunctionState>- Parameters:
attributeExpressionExecutors- are the executors of each function parametersconfigReader- This hold theFunctionExecutorextensions configuration reader.siddhiQueryContext- the context of the siddhi query
-
execute
protected Object execute(Object[] data, io.siddhi.core.executor.incremental.IncrementalShouldUpdateFunctionExecutor.FunctionState state)
Description copied from class:FunctionExecutorThe main execution method which will be called upon event arrival when there are more then one function parameter- Specified by:
executein classFunctionExecutor<io.siddhi.core.executor.incremental.IncrementalShouldUpdateFunctionExecutor.FunctionState>- Parameters:
data- the runtime values of function parametersstate- current query state- Returns:
- the function result
-
execute
protected Object execute(Object data, io.siddhi.core.executor.incremental.IncrementalShouldUpdateFunctionExecutor.FunctionState state)
return true/false based on timestamp values- Specified by:
executein classFunctionExecutor<io.siddhi.core.executor.incremental.IncrementalShouldUpdateFunctionExecutor.FunctionState>- Parameters:
data- of Long typestate- function state- Returns:
- true/false
-
getReturnType
public io.siddhi.query.api.definition.Attribute.Type getReturnType()
-
-