public class WordFunction
extends io.siddhi.core.executor.function.FunctionExecutor
| Constructor and Description |
|---|
WordFunction() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
execute(Object[] data,
io.siddhi.core.util.snapshot.state.State state)
The main execution method which will be called upon event arrival
when there are more than one Function parameter
|
protected Object |
execute(Object data,
io.siddhi.core.util.snapshot.state.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()
return a Class object that represents the formal return type of the method represented by this Method object.
|
protected io.siddhi.core.util.snapshot.state.StateFactory |
init(io.siddhi.core.executor.ExpressionExecutor[] attributeExpressionExecutors,
io.siddhi.core.util.config.ConfigReader configReader,
io.siddhi.core.config.SiddhiQueryContext siddhiQueryContext)
The initialization method for
FunctionExecutor, which will be called before other methods and validate
the all configuration and getting the initial values. |
protected io.siddhi.core.util.snapshot.state.StateFactory init(io.siddhi.core.executor.ExpressionExecutor[] attributeExpressionExecutors,
io.siddhi.core.util.config.ConfigReader configReader,
io.siddhi.core.config.SiddhiQueryContext siddhiQueryContext)
FunctionExecutor, which will be called before other methods and validate
the all configuration and getting the initial values.init in class io.siddhi.core.executor.function.FunctionExecutorattributeExpressionExecutors - are the executors of each attributes in the FunctionconfigReader - this hold the FunctionExecutor extensions configuration reader.siddhiQueryContext - the context of the siddhi queryprotected Object execute(Object[] data, io.siddhi.core.util.snapshot.state.State state)
execute in class io.siddhi.core.executor.function.FunctionExecutordata - the runtime values of Function parametersstate - current query stateprotected Object execute(Object data, io.siddhi.core.util.snapshot.state.State state)
execute in class io.siddhi.core.executor.function.FunctionExecutordata - 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 WSO2. All rights reserved.