public class GetYAMLPropertyFunction
extends io.siddhi.core.executor.function.FunctionExecutor
| Constructor and Description |
|---|
GetYAMLPropertyFunction() |
| 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()
This will be called only once and this can be used to acquire
required resources for the processing element.
|
protected io.siddhi.core.util.snapshot.state.StateFactory |
init(io.siddhi.core.executor.ExpressionExecutor[] attributeExpressionExecutors,
io.siddhi.core.util.config.ConfigReader reader,
io.siddhi.core.config.SiddhiQueryContext siddhiQueryContext)
The initialization method for TheFun, this method will be called before the other methods.
|
protected io.siddhi.core.util.snapshot.state.StateFactory init(io.siddhi.core.executor.ExpressionExecutor[] attributeExpressionExecutors,
io.siddhi.core.util.config.ConfigReader reader,
io.siddhi.core.config.SiddhiQueryContext siddhiQueryContext)
init in class io.siddhi.core.executor.function.FunctionExecutorattributeExpressionExecutors - the executors of each function parameter.siddhiQueryContext - the context of the siddhi query.protected 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 parameters.protected 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 parameter.public io.siddhi.query.api.definition.Attribute.Type getReturnType()
Copyright © 2019 WSO2. All rights reserved.