public abstract class AbstractGeoOperationExecutor
extends org.wso2.siddhi.core.executor.function.FunctionExecutor
Constructor and Description |
---|
AbstractGeoOperationExecutor() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
currentState()
The serializable state of the element, that need to be
persisted for the reconstructing the element to the same state
on a different point of time
|
protected Object |
execute(Object data)
The main execution method which will be called upon event arrival
which has zero or one function parameter
|
protected Object |
execute(Object[] data)
The main executions method which will be called upon event arrival
|
org.wso2.siddhi.query.api.definition.Attribute.Type |
getReturnType() |
protected void |
init(org.wso2.siddhi.core.executor.ExpressionExecutor[] attributeExpressionExecutors,
org.wso2.siddhi.core.util.config.ConfigReader configReader,
org.wso2.siddhi.core.config.SiddhiAppContext siddhiAppContext)
The initialization method for FunctionExecutor, this method will be called before the other methods
|
void |
restoreState(Map<String,Object> state)
The serialized state of the element, for reconstructing
the element to the same state as if was on a previous point of time.
|
protected void init(org.wso2.siddhi.core.executor.ExpressionExecutor[] attributeExpressionExecutors, org.wso2.siddhi.core.util.config.ConfigReader configReader, org.wso2.siddhi.core.config.SiddhiAppContext siddhiAppContext)
init
in class org.wso2.siddhi.core.executor.function.FunctionExecutor
attributeExpressionExecutors
- are the executors of each function parameterssiddhiAppContext
- the context of the execution planprotected Object execute(Object[] data)
execute
in class org.wso2.siddhi.core.executor.function.FunctionExecutor
data
- the runtime values of the attributeExpressionExecutorsprotected Object execute(Object data)
execute
in class org.wso2.siddhi.core.executor.function.FunctionExecutor
data
- null if the function parameter count is zero or
runtime data value of the function parameterpublic Map<String,Object> currentState()
public void restoreState(Map<String,Object> state)
state
- the stateful objects of the element as an array on
the same order provided by currentState().public org.wso2.siddhi.query.api.definition.Attribute.Type getReturnType()
Copyright © 2017 WSO2. All rights reserved.